Returns the Scatter at the specified position. Namespace: MindFusion.Charting
|
C#
![]() |
---|
public Scatter HitTestScatter ( |
Visual Basic
![]() |
---|
Public Function HitTestScatter ( _ |
JavaScript
![]() |
---|
function HitTestScatter (x, y) |
The Scatter at the position specified by x and y; null if no Scatter is clicked.
Use this method when hit-testing scatter charts. The method returns only the hitted scatter. If the scatter chart is combined with any type of line or area chart, you should also use HitTestLine or HitTest and cast the result to Line or Scatter.
The result can be null, so always check.