explodeOnClick: Boolean

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

Default: true
Options: false, true
Note
  • 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 Editing The Code


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