Working with Data > Batching Chart Updates |
Normally, the chart is repainted immediately after a property is set. To make several changes to a chart before causing a repaint, set the IsBatched property of the Chart2D object to True. Property changes do not cause a repaint until IsBatched is reset to False.
For convenience, the IsBatched property is also defined for the Chart2DData object and the ChartLabel object. In these cases, IsBatched batches the modifications to that object. These IsBatched properties are independent of Chart2D.IsBatched.
It is recommended that you batch around the creation or updating of multiple chart labels.