Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartLegendItemHitTest.ValueIndex Field

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

#Declaration

Delphi
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