SHARE
TWEET

Untitled

a guest Jun 26th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function changeColor(){
  2. let dataItem = networkSeries.getDataItemById(networkSeries.dataItems, "Fifth");
  3. dataItem.node.circle.fill = am4core.color("#00ff00");
  4.  
  5. // change color of all children
  6. dataItem.children.each(function(child){
  7.     child.node.circle.fill = am4core.color("#00ffff");
  8. })
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top