Hide Comments
Hide Comments

Comments (0)

Re-enables screen repainting and change events. Use EndUpdate to re-enable screen repainting and change events that were turned off with the BeginUpdate method.

Namespace: RSChartPanel

expandingSyntax

Delphi

public 
  procedure EndUpdate; 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