mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-04 15:34:04 +01:00
In case of charts with over 4000 points, smallestLabelSeparation calculation contributes significantly to total cpu usage (about 25% according to built-in Chrome profiler). Important thing to note is that result of this calculation is not used at all. Related commits: *677c249b61introduced smallestLabelSeparation. It was used in calculateBaseWidth function. *d198157fb8removed last use of smallestLabelSeparation. Since then the calculated value was never used.