[Chartjs]-Chart js data decimation not working, parsing issue

1👍

Look at the documentation about parsing:
https://www.chartjs.org/docs/latest/api/interfaces/ParsingOptions.html#parsing

How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.

Solution:
your x-axis data (timetags) need to be "milli-second from epoch", which is the internal representation chartjs use for time value. Currently your x-axis data is a date string, that’s why it’s not working

Leave a comment