A tooltip displays information about a series point when you hover the mouse pointer over it.
The following plugins implement the tooltip:
Note that the plugin order is important.
Import the plugins listed above to create a Chart with tooltip support.
In uncontrolled mode, add the
Tooltip plugin to the chart to show a tooltip for hovered points.
In controlled mode, specify in the
targetItem property and handle the
onTargetItemChange event to control the tooltip's visibility externally.