Hi PeterMaz,
To change a chart that has already been displayed, you would need to regenerate it. You can use the same code that draws the chart in the first place to regenerated it, which means there is no need to write additional code to regenerate the chart. In many of our code examples, we put the charting code in a "drawChart" method. When the data are changed, we just call the drawChart method again to update the chart.
Best Regards
Peter Kwan |