[Chartjs]-How to add tooltips to chart.js graph

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.

Leave a comment