React Chart - Tooltip

A tooltip displays information about a series point when you hover the mouse pointer over it.

The following plugins implement the tooltip:

  • EventTracker - allows you to handle clicking/hovering a point or series
  • Tooltip - renders the tooltip

Note that the plugin order is important.

Basic Setup

Import the plugins listed above to create a Chart with tooltip support.

Uncontrolled Mode

In uncontrolled mode, add the Tooltip plugin to the chart to show a tooltip for hovered points.

Developing a React App? Check out our updated React UI Suite instead.
If you are considering React for an upcoming software project or have used DevExtreme Reactive components in the past, please visit js.devexpress.com/React
Migrate to DevExtreme React
DevExtreme Reactive product line is now in maintenance support mode. If you're building a React app, consider our up-to-date DevExtreme React UI suite. For more information, visit the Migrate from DevExtreme Reactive help topic on the DevExtreme React site.

Controlled Mode

In controlled mode, specify in the Tooltip plugin's targetItem property and handle the onTargetItemChange event to control the tooltip's visibility externally.

Developing a React App? Check out our updated React UI Suite instead.
If you are considering React for an upcoming software project or have used DevExtreme Reactive components in the past, please visit js.devexpress.com/React
Migrate to DevExtreme React
DevExtreme Reactive product line is now in maintenance support mode. If you're building a React app, consider our up-to-date DevExtreme React UI suite. For more information, visit the Migrate from DevExtreme Reactive help topic on the DevExtreme React site.

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress’ privacy policy and cookie policy.