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 Class

Stores HitTest information about the chart legend item located at the inspected point.

#Declaration

Delphi
TcxGridChartLegendItemHitTest = class(
    TcxCustomGridViewHitTest
)

#Remarks

This class introduces the following properties:

Index
Determines the position of the legend item within the chart legend.
Series
Provides access to the series that corresponds to the legend item.
ValueIndex
Returns the series value that corresponds to the inspected legend item.

In addition, the TcxGridChartLegendItemHitTest class overrides the HitTestCode method to return the htLegendItem hit code if a band is located at the inspected point.

#Inheritance

See Also