Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartPanel > Classes > TRSChartValues > Methods

TRSChartValues.IndexOf(TRSChartValueType,Integer) Method

Scroll Prev Top Next More

Returns the Index of the Item that contains the Value parameter (or close to the Value parameter) for the specifed Dimension. If the Collection is sorted by the specified Dimension, IndexOf calls the  FindClosest method. However, if the collection is not sorted or not sorted by the specified Dimension, the method iterates through the collection looking for a value that is approximately equal to the specified Value.

Namespace: FMX.RS.ChartPanel

Parameters

Value

Type: TRSChartValueType

Dimension

Type: Integer

Return Value

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb