Chart.js/samples/scales
Thomas Redston 35dcfe00b1 Time scale improvements to improve performance and reliability
* Make parseTime private
* start on fixing time scale
* Reimplement existing functionality
* Tidy tests
* Fix labels for non-linearly sized units

Months, quarters and years have non-constant numbers of seconds. A scale that's linear WRT milliseconds produces incorrect tick labels due to the label formatting losing precision (eg year labels lose month and day so a label of 2016-12-32 displays as 2016 instead of 2017).

* Re-implement tick generation

As in v2.5
2017-04-02 08:49:00 -04:00
..
linear Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00
logarithmic Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00
time Time scale improvements to improve performance and reliability 2017-04-02 08:49:00 -04:00
filtering-labels.html Update chartColors.js to utils.js and move randomScalingFactor function there 2016-10-23 16:33:25 -05:00
gridlines-display.html Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00
gridlines-style.html Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00
multiline-labels.html Update chartColors.js to utils.js and move randomScalingFactor function there 2016-10-23 16:33:25 -05:00
non-numeric-y.html Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00