0👍
I didn’t find a chart.js way to solve this problem, so I had to change the datasets myself. When selecting a date range, I now remove all the elements that are outside of this scope and then update the chart.
- Chartjs-Chart Js Display 2 lines with same labels, not all labels have data point
- Chartjs-Why is my data on chartjs not starting from the data that it should
Source:stackexchange.com