Chartjs-Chartjs: how to remove datapoint info from label?

1👍

What you can do is instead of using the default tooltip instead use a html tooltip.

In the JS that makes the tooltip instead of looping over each active item you only take the first one and display that.

Official sample of html tooltip: https://www.chartjs.org/docs/master/samples/tooltip/html.html

Leave a comment