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,
});
- Chartjs-How do i remove the Axes Y and Z using Vuechartjs
- Chartjs-Chart.js not drawing with AngularJS
Source:stackexchange.com