Chartjs-Line Chart Labels – Ng2Charts – ChartJS

0πŸ‘

I think you just need to make the chart type β€˜time’

public lineChartOptions: any = {
  responsive: true,
  scales: {
  xAxes: [{
    type: 'time',
    distribution: 'linear'
  }]
 }
};

Leave a comment