Hide Comments
Hide Comments

Comments (0)

Adds a chart to the list. Call Add to add a chart to the list. The Add method returns the Index where the new Item is located.

If you add a chart to the TRSCustomChartPanel.Charts list, the chart's Panel property is changed to the panel and it is displayed. If you add a chart to a TRSChartAxis.Charts list, the chart's HorizontalAxis or VerticalAxis is assigned to that chart axis.

The order of the charts in the list matters. For the chart panel, the chart at Index 0 is drawn first, and then every chart is drawn over it. For the chart axis, the first chart defines the labels.
 

Namespace: FMX.RS.ChartPanel

expandingSyntax

Delphi

public
  function Add(AChart: TRSCustomChart): Integer;
 

Parameters

AChart

Type: TRSCustomChart

Return Value

Type: Integer

expandingRemarks

The Add method will add a chart to the list, whether it is already present in the list or not. Call  AddOne to only add a chart if it is not present.

expandingSee Also

Comments (0)

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