TdxCustomChartControl.CalculateHitTest(Integer,Integer) Method
Calculates HitTest information for the specified pixel coordinates within the Chart control client area.
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
X | Integer | The horizontal pixel offset of the inspected point from the left border of the Chart control client area. The Hit |
Y | Integer | The vertical pixel offset of the inspected point from the top border of the Chart control client area. The Hit |
#Remarks
Call the CalculateHitTest
procedure and pass pixel coordinates of a point within the Chart control client area as X
and Y
parameters to identify what visual element is located there. A CalculateHitTest
procedure call updates HitTest information accessible through the HitTest property.