Repaint Property

       

Returns or sets a value that determines if the MSChart control is repainted after a change is made to the chart.

Syntax

object.Repaint [ = boolean]

The Repaint property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
boolean A Boolean expression that controls whether the chart is repainted, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True (Default) Refreshes the control.
False Does not allow the control to repaint when a change is made to the chart. This is useful when several operations are performed on the chart and you do not want the chart to continually repaint during the process.