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.
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:
- The OnHotTrackElement or OnMouseMove event occurs. The inspected point matches the current mouse pointer position.
- You call the CalculateHitTest procedure. The procedure’s
X
andY
parameters define the inspected point’s coordinates within the Chart control client area.
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.