Time Series Axis

The time series scale extends from the time scale and supports all the same options. However, for the time series scale, each data point is spread equidistant.

Example

  1. const chart = new Chart(ctx, {
  2. type: 'line',
  3. data: data,
  4. options: {
  5. scales: {
  6. x: {
  7. type: 'timeseries',
  8. }
  9. }
  10. }
  11. });

More details

Please see the time scale documentation for all other details.