Hi
I have a page with a pie chart (accumulation chart):
<ejs-accumulationchart id="piechart1" title="Pie Chart 1">
I'm using an AJAX call to update the dataSource and update the pie chart:
document.getElementById("piechart1").ej2_instances[0].series[0].dataSource = result;
My problem:
If the data source is empty, the chart redraws as an empty chart but the labels are not updated.
How do I get the labels to reset as well if the data source is empty?
Thanks