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

TdxChartHitTest.Point Property

Returns pixel coordinates of the inspected point within the Chart control’s client area.

#Declaration

Delphi
property Point: TPoint read;

#Property Value

Type Description
TPoint

Use Point.X and Point.Y properties to obtain horizontal and vertical coordinates of the inspected point within the Chart control’s client area.

#Remarks

Use the Point property to obtain inspected point pixel coordinates.

To identify what visual Chart element is at the inspected point, use the HitCode property.

#Chart HitTest Information

Chart HitTest information updates every time when:

  • The OnHotTrackElement or OnMouseMove event occurs. Point.X and Point.Y property values change to the corresponding mouse pointer coordinates. Argument and Value property values change to corresponding coordinates (in axis measurement units) if the inspected point is within the plot area of an XY diagram.
  • You call the CalculateHitTest procedure. Point.X and Point.Y property values change to the procedure’s X and Y parameter values.
See Also