Returns the Line at the position specified by x and y. Namespace: MindFusion.Charting Syntax
Parameters
Return ValueThe Line at the position specified by x and y; null if no Line is found. RemarksUse the method when hit-testing all types of line and/or area charts. If the chart is combined with scatter, the method will not return the scatter, when hitted. Instead you should use HitTestScatter or HitTest and cast the result. HitTestLine returns the line that holds all points for a particular data series. You can recognize it through the Index or MaxNum properties. The result can be null, so always check. See Also |