Chartjs-Vue2 chart.js insert time data on x-axis in real time

0👍

did you match label and data like this?

 chartData: {
   labels: [ 'January', 'February', 'March'],
   datasets: [
     {
       label: 'Data One',
       backgroundColor: '#f87979',
       data: [40, 20, 12]
     }
   ]
 },

Leave a comment