Chartjs-Using Chart.js on Laravel 5.3

0👍

It worked when I figured out that I’m using the version 2.x of chart.js and I’ve changed this

new Chart(transaksi).Line(transaksiData, {
    bezierCurve : true
});

into this

var chartInstance = new Chart(transaksi, {
    type: 'line',
    data: transaksiData,
});

Leave a comment