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
The nearest
tooltip option might be what you're looking for.
Working example JSFiddle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With