Levels
Sunburst chart is used to display hierarchical data. You can add more than one hierarchical data by using the levels
property of Sunburst chart. Each level of the hierarchy is represented by circle.
The following code snippet illustrates
"use strict";
var levels = [
{
//... to represent the hierarchical data in different levels
}
];
ReactDOM.render(
<EJ.SunburstChart id = "sunburst1"
levels ={levels}
>
</EJ.SunburstChart>,
document.getElementById('sunburst')
);
GroupMemberPath
"use strict";
var levels = [
{ groupMemberPath: "Level 1" },
{ groupMemberPath: "Level 2" },
{ groupMemberPath: "Level 3" },
];
ReactDOM.render(
<EJ.SunburstChart id = "sunburst1"
levels ={levels}
>
</EJ.SunburstChart>,
document.getElementById('sunburst')
);
The following screenshot illustrates the Sunburst Chart with different levels
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page