Hide Comments
Hide Comments

Comments (0)

Suspends screen repainting of the chart. The BeginUpdate method suspends screen repainting and change events until the EndUpdate method is called. Use BeginUpdate to speed processing and avoid flicker while items are added to or deleted from a collection.

Namespace: RSChartPanel

expandingSyntax

Delphi

public 
  procedure BeginUpdate; virtual; 
 

expandingExamples

The following example uses the BeginUpdate and EndUpdate methods to speed processing of the chart by suspending change events and screen painting:
 

Delphi

var
   i: Integer;
 begin
   Chart1.BeginUpdate;
   try
     Chart1.Color := crRed;  // usually fires change events
     for i := 0 to Chart1.Values.Count - 1 do
      Chart1.Values[i].Value := Chart1.Values[i].Value * 0.1;
   finally
     Chart1.EndUpdate;
   end;
 end;
 

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb