Skip to main content
All docs
V25.1
  • TdxCustomChartControl.HitTest Property

    Provides access to HitTest information on the inspected point within the Chart control client area.

    Declaration

    property HitTest: TdxChartHitTest read;

    Property Value

    Type Description
    TdxChartHitTest

    Stores HitTest information on the inspected point within the Chart control client area.

    Remarks

    You can use HitTest.Point and HitTest.HitCode properties to obtain the inspected point’s position within the Chart control area and identify the type of the visual element to which the inspected point belongs.

    VCL Chart Control: Inspected Point Coordinates and Visual Chart Elements

    Refer to the TdxChartHitTest class description for detailed information on available options.

    Chart HitTest Information Updates

    HitTest information accessible through the HitTest property updates every time when:

    In addition, HitTest.Argument and HitTest.Value property values change to corresponding coordinates in axis measurement units if the inspected point is within the plot area of an XY diagram.

    See Also