The reason we are asking is that we want to change the color of the slices for the pie based on which level we are and also what type of data the pie is currently showing.
If either of the 2 fields to base the chart is "Execution result" we want to change the colors for those slices.
The solution now uses the event 'onChartUpdate' to set what color to draw in the
styleFunction for the slices. There are however some timing issues as well as wrong coloring being shown in certain situations. The event 'onChartUpdate' seems to happen after the styling function for the new slices is called.
What approach would you guys recommend to this?