amcharts5
amcharts5 copied to clipboard
Can we access the sunburst levels in amcharts 5 as we can access in amcharts 4
I am trying to find the method that can give me the each level node of sunburst. particular i want each level node as separate variable. i tried finding it but was not able to find. in amcharts 4 i can find that but not in amcharts 5
Just to make sure: you need get nodes in specific level OR you need to get specific node in a level OR you need to get level of the node?
i need to disable hover effect on specific nodes
How do you identify which nodes to disable hover on?
Do you disable hover effect on all nodes of some level? Or individual nodes within one level?
If you had a working CodePen on how it is implemented in amCharts 4, I'd be asking less questions ;)
i just need to access nodes if i got three children of root node. like in amcharts 4 how we access levels.
Thanks.
You can iterate through series' nodes
and collect required ones based on their "depth":
var level1nodes = [];
series.nodes.each(function(node) {
if (node.dataItem.get("depth") == 1) {
level1nodes.push(node);
}
});
console.log(level1nodes);
thanks alot
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.
I want to make the hover off at specific node via level setting. can we do that right ?
On Sun, 24 Jul 2022 at 14:32, Martynas Majeris @.***> wrote:
Just to make sure: you need get nodes in specific level OR you need to get specific node in a level OR you need to get level of the node?
— Reply to this email directly, view it on GitHub https://github.com/amcharts/amcharts5/issues/500#issuecomment-1193276488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJ6CZW5OF5AKHKXJ4UAAF3VVUBCNANCNFSM54KBZ64Q . You are receiving this because you authored the thread.Message ID: @.***>