explodeOnClick: Boolean

Enables or disables exploding of Pie/Doughnut 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.

In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.