Enables/Disables Repainting of Chart when points are added.
public Boolean AutoRepaint {get; set;}

Remarks


Default True

Use AutoRepaint false to disable Chart repainting whilst (for example) adding a large number of points to a Chart Series. This avoids repainting of the Chart whilst the points are added. AutoRepaint may be re-enabled, followed by a manual Repaint command when all points are added.

Example


[C#]

tChart1.AutoRepaint = false; 
Random r = new Random();
for(int i = 0; i <500; i++)
{
     tChart1[0].Add (i,r.Next(800),Color.Blue);
}
tChart1.AutoRepaint = true;
tChart1.Refresh();

See Also

TChart Class | TChart Members | Steema.TeeChart Namespace