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 FastLine 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#]

private void button1_Click(object sender, System.EventArgs e) 
{

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

See Also

FastLine Class | FastLine Members | Steema.TeeChart.Styles Namespace