8

By default while displaying line chart in chart.js. The tooltip shows values for all datasets present.

How to display value of only one dataset point when we hover mouse over that dataset point instead of all dataset points

Rashwan L
  • 38,237
  • 7
  • 103
  • 107
ssvas
  • 91
  • 3

1 Answers1

1

The nearest tooltip option might be what you're looking for.

Working example JSFiddle

Raquel Guimarães
  • 957
  • 1
  • 12
  • 18