JavaScript Chart Examples

SciChart.js ships with ~60 JavaScript Chart Examples which you can browse, play with, view the source code and see related documentation. All of this is possible with the SciChart.js Examples Suite, which ships as part of the SciChart.js SDK

Hit-Test API

Demonstrates how to add Hit-Test on click behavior to a chart using SciChart.js, High Performance JavaScript Charts

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!

2D Charts
Chart Legends
SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL.