explodeOnClick: Boolean

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

Default: true
Options: false, true

  • 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,

Try it Yourself by Editing the Code below.

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