Checks whether a point with the particular coordinates is contained inside a chart element. Namespace: MindFusion.Charting Syntax
Parameters
Return ValueAn object of type ChartElement that contains the point described by the two parameters of the function; null if no object is found. RemarksCall this method inside event handlers for user interaction with the mouse. The mouse coordinates are retrieved from the event data. The Chart control overrides HitTest to return a specific chart element. Cast the result to Bar, Line, Scatter, Bubble, PiePiece or RadarPiece according to the chart type you are using. All HitTest methods may return null so always check. See Also |