Skip to main content

TcxGridChartLegendItemHitTest Class

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

Declaration

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