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
  • 9190
    Suggested Answer
    Offline posted

    Hi itai,

    Thank you for posting on our forums.

    I've created a sample on jsFiddle which uses the available sliceClick event to set the explodedSlices accordingly.

    Please review the sample and let me know if you have any questions.

Reply Children