4 ms·
If you change the `scales.xAxes[0].ticks.source config option to `'auto'` you can drop ~1s off the render the time. It's still not great, but it is an improveme
by etimberg 7y ago
If you change the `scales.xAxes[0].ticks.source config option to `'auto'` you can drop ~1s off the render the time. It's still not great, but it is an improvement. I'll take a look through the profile I generated and see if there are any obvious improvements in Chart.js.
Thanks for creating this :)
- leeoniya 7y agosweet, i'll add this. is this mentioned anywhere in the docs? seems non-obvious.
- etimberg 7y agoThe option is documented at https://www.chartjs.org/docs/latest/axes/cartesian/time.html#ticks-source https://www.chartjs.org/docs/latest/axes/cartesian/time.html... but the performance implications aren't. I'll work on adding something there.