@hoopstagee,
You can get the instance of the chart by passing onRef = {ref => chart = ref}
props to the Chart Component. Later you can call chart.render();
. Please refer documentation for more information about CanvasJS React Component & the props available.
If you are looking to explode just one slice, you can set exploded property of all the dataPoints to false except the currently clicked slice. Please take a look at this StackBlitz code for an example on the same.
—
Vishwas R
Team CanvasJS