Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
ensure only one slice is exploded on sliceClick in pie chart
posted

Hi.
i'm trying to explode the clicked slice but i need only the current one to remain exploded. that means that when a second slice is clicked- i must 'unexplode' the prev slice.
can't find a way to do that.
thank you. 

Parents Reply
  • 9190
    Offline posted in reply to itai shp

    Hi,

    The explodedSlices option is an array of integers that indicate the indexes of the slices to explode. Moreover, the id property in each json object is used to identify the index for each slice in the collection. The ability to identify which slice corresponds to the slice click event is required in order to ensure you're exploding the correct slice.

    Please let me know if you have further questions regarding this matter.

Children