score:1

var ctx = document.getelementbyid("canvas").getcontext("2d");
    window.myline = new chart(ctx).line(linechartdata, {
        responsive: true,
        showtooltips: true,
        multitooltiptemplate: "<%= value %>",
    });

use this to set a gloabl settings in chartjs.

score:5

you just have to copy chart.min.js from https://github.com/nnnick/chart.js/blob/master/chart.min.js.

score:8

there is a chartjs version available along with tooltip you can get it in this github page https://github.com/regaddi/chart.js/tree/tooltips

looks like the above link is no longer available

however its available here in github

you can see the documentation here


Related Query

More Query from same tag