Commit Graph

27 Commits

Author SHA1 Message Date
Jonatan
f5cb133551
fix: label text not centered when applied rotation (#10773)
* fix: label text not centered on tick when rotated

#10485

* fix: label text not centered on tick when rotated

#10485
2022-10-17 21:28:31 +03:00
stockiNail
9871aaa262
Use ticks.steSize instead of time.stepSize on time and timeseries scales (#10653) 2022-09-10 18:46:26 +03:00
Evert Timberg
a39f694184
Allow time scale to offset using skipped ticks (#10278) 2022-04-03 16:05:43 -04:00
Evert Timberg
9db3680440
null or undefined should skip grid lines in the time scale (#9252)
* `null` or `undefined` should skip grid lines in the time scale

* Refactor implementation per code review
2021-06-12 10:47:14 -04:00
Jukka Kurkela
1a5a15265a
Revert "Scale: draw offset grid for labels before autoSkip (#8748)" (#8752)
This reverts commit cdba66ccef.
2021-03-30 08:00:19 -04:00
Jukka Kurkela
cdba66ccef
Scale: draw offset grid for labels before autoSkip (#8748)
* Scale: draw offset grid for labels before autoSkip
* fix tests
2021-03-29 16:53:47 -04:00
Jukka Kurkela
64593ed74c
Time: Fix offset with low data counts (#8740) 2021-03-27 15:55:54 -04:00
Jukka Kurkela
416062bf68
Update tick positioning (#8657)
* Update tick positioning
* Update tests
2021-03-17 18:22:21 -04:00
Jukka Kurkela
79cc6d3206
Use maxOverflow as minimum layout padding (#8650)
* Use maxOverflow as minimum layout padding

* fixes
2021-03-16 16:32:29 -04:00
Jukka Kurkela
9799dbd5a0
Scale: autoSkip before fit (#8627)
Scale: autoSkip now occurs before fit in the update process
2021-03-13 11:36:12 -05:00
Jukka Kurkela
bc8385e6bb
Fix layout refit logic (#8567)
* Fix layout refit logic

* CC

* Update fixture
2021-03-04 19:48:26 -05:00
Jukka Kurkela
08b76b0efd
Time: limit offset to sane values, gen >= 2 ticks (#8560) 2021-03-02 17:00:03 -05:00
Jukka Kurkela
118cff7cfc
Remove distribution option from fixtures (#8559) 2021-03-02 16:03:08 -05:00
Ben McCann
3214005322
Fix normalize when null values at edge of dataset (#8547)
* Fix normalize when null values at edge of dataset

* Fix test with mismatched number of points
2021-03-01 15:06:48 -05:00
Jukka Kurkela
4207645a9a
Time scale: skip invalid data (#8508) 2021-02-23 15:31:43 -05:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
Jukka Kurkela
d6b4fe2629
LineElement: no fill by default (#8111)
* LineElement: no fill by default
* Update negative-times fixture
2020-11-28 15:07:46 -05:00
Jukka Kurkela
021561072b
Disable all plugins when options.plugins = false (#8098)
Disabling all plugins when options.plugins = false
2020-11-23 17:58:03 -05:00
Jukka Kurkela
8cdc60ccd1
[perf] Update/draw only visible line/points (#7793)
* Restore count parameter to updateElements
* [perf] Update/draw only visible line/points
* CC
2020-09-15 18:57:31 -04:00
Jukka Kurkela
effe988bbf
Reduce code duplication and sort generated ticks (#7747)
* Reduce code duplication and sort generated ticks
* Add test
2020-09-02 08:09:39 -04:00
Ben McCann
8ac700961a
Move timeseries fixtures to their own directory (#7536) 2020-06-21 08:30:34 -04:00
Ben McCann
c2cd00ca90
Split time scale into time and timeseries (#7525)
* Split time scale into time and timeseries
* Address comment
2020-06-19 10:21:39 -04:00
Jukka Kurkela
40871b0062
Parse from custom properties in data (#7489)
* Parse from custom properties in data
* Resolve CC issues
* Review update
2020-06-18 17:36:53 -04:00
Sebastian Niemann
8b628c33b2
Turns off interpolation per default (#7386)
Co-authored-by: Sebastian Niemann <sn@wertpapiertreuhand.de>
2020-06-12 18:03:52 -04:00
Jukka Kurkela
281ee42def
Fix measureText bug in spriting (#7492) 2020-06-11 08:50:17 -04:00
Evert Timberg
29043f152b
Consider all timestamps for bar measuring (#7421)
* Consider all timestamps for bar measuring
* Fix watched tests for updated file names
* Add test of sparse bar time scales
2020-05-27 12:22:00 -04:00
Jukka Kurkela
3b915cbdd3
Convert some of the time scale tests to fixtures (#7154)
* Convert some of time scale tick tests to fixtures
* A little more threshold
2020-02-28 18:56:22 -05:00