Hide Comments
Hide Comments

Comments (0)

Occurs when a chart associated with the chart panel changes. Write an OnChartChange event handler to respond to changes in charts.

Namespace: RSChartPanel

expandingSyntax

Delphi

public
  property OnChartChange: TRSChartEvent read FOnChartChange write FOnChartChange;
 

Value

Type: TRSChartEvent

expandingExamples

The following code updates a status bar to display the number of visible and selected values:

Delphi

procedure TForm1.RSChartPanel1ChartChange(Sender: TObject;
   const Chart: TRSCustomChart);
 begin
      StatusBar1.Panels[0].Text := 'Values Visible: ' + IntToStr(Chart.Values.VisibleCount);
      StatusBar1.Panels[1].Text := 'Values Selected: ' + IntToStr(Chart.Values.SelCount);
 end;

expandingSee Also

Comments (0)

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