Version

GetChartInfoFromPoint Method (WinTooltipAppearance)

Reports information about the row and column underlying a chart element at a control-relative on-screen position.
Syntax
'Declaration
 
Public Function GetChartInfoFromPoint( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As ChartDataEventArgs
public ChartDataEventArgs GetChartInfoFromPoint( 
   int x,
   int y
)

Parameters

x
A horizontal X pixel coordinate (0 is at the left edge of the control).
y
A vertical Y pixel coordinate (0 is at the top edge of the control).

Return Value

Information about a data point on the chart by pixel location X and Y as a ChartDataEventArgs object.
Remarks

The location is relative to the top left corner (0,0) of the UltraWinChart control. The returned ChartDataEventArgs object contains the same event arguments as would be returned from handling the ChartDataClicked event.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also