[Chartjs]-Chartjs: How to plot multi-line chart with irregular intervals

3👍

Chartjs (v2.0 onwards) has added time-series chart, samples of which could be found in the their samples folder located in their github repository
This lets one plot chart against a time series in X/Y axis.

2👍

Chart.Scatter (http://dima117.github.io/Chart.Scatter/) is an addon for the Chart.js library – it is listed in the Chart.js documentation – http://www.chartjs.org/docs/#advanced-usage-community-extensions

Chart.Scatter adds a date scale to the chart options

// DATE SCALE

// String – scale type: "number" or "date"
scaleType: …

You can see it in action on the Chart.Scatter home page.

Leave a comment