Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeColor(){
- let dataItem = networkSeries.getDataItemById(networkSeries.dataItems, "Fifth");
- dataItem.node.circle.fill = am4core.color("#00ff00");
- // change color of all children
- dataItem.children.each(function(child){
- child.node.circle.fill = am4core.color("#00ffff");
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement