explodeOnClick: Boolean

Enables or disables exploding of Pie / Doughnut / Funnel / Pyramid segment on click.


Default: true
Options: false, true

Notes
  • By setting explodeOnClick to false it doesn’t explode the segment on mouse click. But you can still set the state programmatically by using exploded property.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   .
   explodeOnClick: false,
   .
  }],
 .
 . 
});
chart.render();



Try it Yourself by Editing the Code below.



If you have any questions, please feel free to ask in our forums.Ask Question