1👍
If you want to use ChartJs’s time unit option the answer is no, up to milliseconds are supported. Here doc’s reference.
As a workaround, you could set x axis as type: linear;
and just use the raw microseconds in ChartJs’s data.
0👍
I already tried Highcharts it’s pretty good with large amounts of data, but I added microseconds manually using the formatter callback function like in the example below in xAxis labels.
xAxis: {
labels: {
formatter: function () {
return Highcharts.dateFormat('%H:%M:%S.%L', your_date) + your_micro_3_digits;
}
}
}
The downside I’m having now is that highcharts is no longer treating the labels as dates but as strings if that’s okay with you.
Source:stackexchange.com