Hi,
Thanks for your patience.
Our development team has investigated the issue you reported regarding issue when clearing and reassigning chart data. We have found that the last column of your PowerPoint chart references data from the first column, which causes incorrect behavior when there is no data. If the cells are not referencing the first column, they can be cleared directly.
We recommend that you comment out or delete the following code:
- Code: Select all
chart.ChartData.Clear(0, 0, chart.Categories.Count + 1,chart.Series.Count + 1);
This should prevent further issues from occurring.
Please let us know if you have any further questions or concerns.
Best regards,
Triste
E-iceblue support team