score:7

Accepted answer

Instead of drawing on the canvas, I simply add a label around the element

<label for = "idOfCanvas">
Your Label<br />
    <canvas></canvas>
</label>

score:1

In the option add this parameter

    multiTooltipTemplate: "<%= datasetLabel %> - <%= value %>"

score:1

You'd need to add the title with specifics in your options section and ensure display is set to true. Something like so:

options: {
    title: {
        display: true,
        text: 'Name of Your Line Chart'
    }
}

Here's a link to the Chartjs documentation


Related Query

More Query from same tag