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.


you just have to copy chart.min.js from


there is a chartjs version available along with tooltip you can get it in this github page

looks like the above link is no longer available

however its available here in github

you can see the documentation here

Related Query