Ben McCann
18cf1a0eca
Mark parameter as optional ( #7530 )
2020-09-01 11:30:15 -04:00
Jukka Kurkela
fabcdfec55
Replace horizontalBar with indexAxis: 'y' ( #7514 )
...
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
2020-09-01 11:30:15 -04:00
Jukka Kurkela
ac69e81b04
Turn elements/index into an index ( #7135 )
2020-02-26 18:08:29 -05:00
Jukka Kurkela
d801e56106
Update dependencies and alter privacy of functions ( #7138 )
...
* Update dependencies
* Fix privacy problems
* color lib & consistency
* Review update
* getLabelCapacity
* Review update
2020-02-22 08:35:16 -05:00
Ben McCann
e2145e3b55
Turn on excludeNotExported ( #7121 )
2020-02-20 12:18:21 -05:00
Ben McCann
2e5b072251
Turn on some TypeScript checks ( #7116 )
...
Turn on some TypeScript checks
2020-02-20 09:43:16 -05:00
Jukka Kurkela
9ddda713e4
Rename steppedLine to stepped ( #7127 )
...
Rename steppedLine to stepped
2020-02-19 18:13:40 -05:00
Jukka Kurkela
25a9969489
Enable esnext and fix all lint errors ( #7094 )
...
* enable esnext and fix all lint errors
* Review update
* Missed some
* Some cleanup still
* Remove leftover eslint disable
2020-02-13 18:41:49 -05:00
Jukka Kurkela
25002f2763
Defaults as ES6 class ( #7074 )
...
* Defaults as ES6 class
* Review comments
2020-02-09 08:52:18 -05:00
Ben McCann
795c86e95b
Fix errors reported by TypeScript compiler ( #7030 )
2020-02-07 18:03:33 -05:00
Jukka Kurkela
70b6eab563
Configurable hide/show animations ( #7055 )
...
Configurable hide/show animations
2020-02-06 18:16:24 -05:00
Ben McCann
6affaa2a73
Convert controllers to ES6 classes ( #7061 )
2020-02-06 07:33:00 -05:00
Ben McCann
f5c4494621
Cleanup imports on controllers ( #7052 )
2020-02-03 07:34:54 -05:00
Ben McCann
fe3931b077
Reduce scope of imports ( #7000 )
2020-01-22 07:19:44 -05:00
Jukka Kurkela
7eb0c2ca68
Allow specifying spanGaps as number (max distance) ( #6993 )
2020-01-21 18:33:27 -05:00
Jukka Kurkela
547aa51544
Draw active points last ( #6944 )
2020-01-10 18:27:30 -05:00
Ben McCann
c6c4a52257
Switch most requires to imports ( #6935 )
2020-01-09 07:23:53 -05:00
Jukka Kurkela
2dd0c2f8fe
Remove futile optimization ( #6928 )
2020-01-07 11:27:44 -05:00
Jukka Kurkela
b5d5ed987a
Internal data by axis instead of scale id ( #6912 )
...
* Internal data by axis instead of scale id
* Test
* Update test
* Update docs
2020-01-06 07:22:18 -05:00
Jukka Kurkela
102a311b44
Rewrite filler ( #6795 )
...
Filler plugin is rewritten and test coverage increased
2019-12-31 12:56:15 -05:00
Ben McCann
8bc250f63a
Remove unnecessary method argument ( #6878 )
...
Remove unnecessary method argument
2019-12-31 08:23:03 -05:00
Ben McCann
29801da9f5
Improved getMaxOverflow ( #6874 )
2019-12-30 14:54:13 -05:00
Jukka Kurkela
b83f64b16e
Rewrite animation logic ( #6845 )
...
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
2019-12-27 17:13:24 -05:00
Evert Timberg
c8bdca62e8
Move all helpers to src/helpers ( #6841 )
...
* Move all helpers into src/helpers
* Move curve helpers to their own file
* DOM helpers moved to their own file
* Update migration docs
* Remove migration docs on new functions
2019-12-17 08:04:40 -05:00
Ben McCann
dc4cff748f
Convert line controller to use const/let ( #6820 )
2019-12-10 18:56:42 -05:00
Jukka Kurkela
6d8bde48bd
Simplify stacking even more, leverage more ES6 features ( #6769 )
...
* Simplify stacking even more
* Destructuring
2019-11-24 07:53:52 -05:00
Jukka Kurkela
ce74eb76a1
Convert axis options from arrays to objects ( #6773 )
...
* Convert axis options from arrays to objects
* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs
* Fix additional tests
* Ensure scale defaults are set if type is not explicitly defined
* Another step
* Include `scale` as `firstIDs.r`
* update docs
* Update for buildOrUpdateScales
* Update migration guide
* Add test back
2019-11-21 18:46:49 -05:00
Jukka Kurkela
1a9db4783c
Remove _ctx from Element ( #6764 )
...
* Remove _ctx from Element
* Sort
2019-11-19 19:01:32 -05:00
Ben McCann
34b93751db
Change updateElement to updateElements ( #6722 )
2019-11-19 07:12:38 -05:00
Jukka Kurkela
e5b03a0975
Improve stacking performance and footprint ( #6762 )
...
* Improve stacking speed and footprint
* Better utilization of caches
* Chore
2019-11-18 18:51:58 -05:00
Jukka Kurkela
eb0751c6d0
Point cleanup ( #6755 )
...
* remove steppedLine from Point
* Remove tension from Point
* Migration guide, private
2019-11-17 20:28:13 -05:00
Ben McCann
cd8f3846e3
Remove helpers.previousItem/nextItem ( #6727 )
2019-11-12 19:18:58 -05:00
Jukka Kurkela
11ef1e5e89
Versatile clipping ( #6642 )
...
Versatile clipping algorithm for different chart types
2019-11-10 17:41:01 -05:00
Ben McCann
a3392e0e59
Remove index and datasetIndex from Element ( #6688 )
...
Remove `index` and `datasetIndex` properties from elements.
2019-11-10 07:52:12 -05:00
Jukka Kurkela
81f5cf416a
Performance optimizations when animations are disabled ( #6710 )
...
* Don't copy _model when animations are disabled
* Review comments
2019-11-09 21:57:54 -05:00
Ben McCann
f0fb2c65b1
Remove tension option backwards compatibility ( #6692 )
2019-11-05 07:11:53 -05:00
Jukka Kurkela
72df272234
Early data parsing, stacking by value and support object data ( #6576 )
...
* Early data parsing + stacking by value
* Review comments
* review comments
* Remove reduntant parsing
* Couple CC warnings
* Optimize filterBetween
* More migration info
2019-11-04 18:07:01 -05:00
Jukka Kurkela
0228776e66
Remove deprecated interaction modes ( #6625 )
...
* Remove deprecated interaction modes
* Use default modes
2019-10-28 18:11:38 -04:00
Ben McCann
08d133817b
Remove xLabel and yLabel from tooltip and chart and scales from element ( #6606 )
...
* Element should not have reference to chart
* Remove scales from element
* Remove deprecated xLabel and yLabel
2019-10-27 16:35:15 -04:00
Ben McCann
0da237a315
Remove undocumented "custom" feature ( #6605 )
...
Remove undocumented "custom" feature
2019-10-27 16:33:21 -04:00
Jukka Kurkela
0de668b46f
Fix line / non-numeric-y ( #6617 )
2019-10-27 15:05:23 -04:00
Jukka Kurkela
6b6f1a4c51
Implement dataset.order ( #6268 )
...
Allow sorting datasets based on the `order` property
2019-10-22 19:14:54 -04:00
Akihiko Kusanagi
b02a3a8175
Fix regression with lineTension ( #6288 )
2019-05-24 09:34:09 +02:00
Akihiko Kusanagi
4f04ee5d77
Keep lines on the left and right edges from being cut ( #6285 )
2019-05-20 17:23:54 +02:00
Akihiko Kusanagi
feeda5d034
Make legend appearance consistent with chart elements ( #5621 )
2019-05-09 15:33:19 +02:00
Ben McCann
f093c36574
Cache getScaleForId() calls in the line controller ( #6250 )
2019-05-08 08:08:02 +02:00
Ben McCann
d6a5ea0d36
Implement per-dataset type (default and per-chart) options ( #5999 )
2019-05-06 22:52:40 +02:00
Janelle deMent
b9290a20de
Make line options scriptable ( #6128 )
2019-03-21 09:06:39 +01:00
Akihiko Kusanagi
8b07cc2f28
Implement scriptable options for points in radar charts ( #6041 )
2019-02-09 23:07:54 +01:00
Ben McCann
17f6fd2340
Common logic for resolving line element options ( #6005 )
2019-01-29 14:45:56 +01:00