Skip to main content

TcxGridChartLegendItemHitTest.ValueIndex Field

Returns the series value that corresponds to the inspected legend item.

Declaration

ValueIndex: Integer

Field Value

Type
Integer

Remarks

This field returns the position of the series value within the collection of series values that are visible within the current View when only a single series is currently displayed within the View and the chart legend displays the colors associated with categories (the VaryColorsByCategory property is set to True). In all other circumstances, the ValueIndex field returns -1.

See Also