Demonstrates the Hover and Selection Apu, which can be used to get feedback about clicks or hover on data-points or lines. Click or hover on the data-point and see the result.
Click or hover anywhere on the chart to call BaseRenderableSeries.hitTestProvider. hitTest. The HitTest function accepts a mouse-point and returns the nearest data-point, plus its location in X,Y coordinate space.
The hitTest function accepts parameters to control the hit-test logic. See the documentation on Hit-Testing for more info!