Back to Devexpress

TdxCustomChartControl.HitTest Property

vcl-dxchartcontrol-dot-tdxcustomchartcontrol-efb15980.md

latest2.5 KB
Original Source

TdxCustomChartControl.HitTest Property

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

Declaration

delphi
property HitTest: TdxChartHitTest read;

Property Value

TypeDescription
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:

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

TdxCustomChartControl.OnHotTrackElement Event

TdxCustomChartControl.ToolTips Property

TdxCustomChartControl Class

TdxCustomChartControl Members

dxChartControl Unit