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.
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.
Hover the chart area to view trackball and its tooltip. Touch and hold to enable trackball in touch enabled devices.
Chart component features are segregated into individual feature-wise modules. To use Trackball, we need to inject
Tooltip module into
More information on the Tooltip and Trackball can be found in this documentation section.