Example of Trackball in Javascript Chart Control


This sample depicts the trackball behavior in the chart. To view the trackball and its tooltip, hover over the chart or tap on it in touch-enabled devices.

More Details...


The trackball is used to track a data point close to the mouse or touch position. The trackball can be enabled by setting the enable property of the crosshair to true and the shared property of the tooltip to true in the chart. Injecting Module Chart component features are segregated into individual feature-wise modules. To use Trackball, we need to inject Trackball module using Chart.Inject(Trackball) method. More information on the Tooltip and Trackball can be found in this documentation section.