Steps to reproduce:
- Open the demo: https://js.devexpress.com/Demos/WidgetsGallery/Demo/Charts/Pie/jQuery/Light/ .
- Handle the done or drawn event.
- Try to change chart settings in the event handler:
JavaScriptfunction onDone(e){
e.component.getSeriesByPos(0).getPointByPos(0).hide();
}
Expected behavior:
The chart is rendered correctly.
Current behavior:
The chart is rendered incorrectly.
Additional details:
Workaround:
JavaScriptfunction onDone(e){
setTimeout(function(){
e.component.getSeriesByPos(0).getPointByPos(0).hide();
});
}