Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartPanel > Classes > TRSChartList > Methods
TRSChartList.IndexOf(TRSCustomChart) Method
Returns the index of a chart. Call IndexOf to obtain the index of a chart in the list. If the Item is not found, this method returns -1.
Namespace: FMX.RS.ChartPanel
Delphi
public function IndexOf(AChart: TRSCustomChart): Integer;
Parameters
AChart
Type: TRSCustomChart
Type: Integer
•FMX.RS.ChartPanel.TRSChartList.Add(TRSCustomChart)
•FMX.RS.ChartPanel.TRSChartList.Items[Integer]
•TRSChartList
•FMX.RS.ChartPanel