[Chartjs]-ChartJS: Uncaught TypeError: Cannot read property 'call' of undefined

7👍

Replace

Chart.defaults.global = {
    responsive: false
    // animation: true
}

with

Chart.defaults.global.responsive = false;
// Chart.defaults.global.animation = true;

You don’t want to replace all the defaults, just the ones you want.

Leave a comment