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
Delphi |
public |
Parameters
AChart
Type: TRSCustomChart
Type: Integer
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. |
Reference |