1👍
I can think of following ways.
- Get only the data for limited time window to the variable but not get all data.
- Group the data to large time point
- Example the data for certain interval
BTW, It might be worth to wrap the code which convert to data to visualisation. It will be easier to change to a different chart or use different plot option.
If you don’t have strong preference for chart.js, check spark-highcharts to see if it meets your plot needs, or create a similar wrapper to chart.js.
Source:stackexchange.com