Demonstrates the Hit Test API, which can be used to get feedback about clicks on data-points or lines and enable selection, of showing of context menus. Click on the data-point and see hit test info on the right.
Click 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!
Not sure where to start? Contact us, we are happy to help!Contact Us