Answers for "how ot add title to chart js"

1

chart js title

var chart = new Chart(ctx, {
    type: 'line',
    data: data,
    options: {
        title: {
            display: true,
            text: 'Custom Chart Title'
        }
    }
});
Posted by: Guest on April-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language