Jukka Kurkela
8d36927b29
Normalize context creation for option resolution ( #7847 )
...
* Normalize context creation for option resolution
* Pass mode to _computeAngle
2020-10-05 09:03:16 -04:00
Jukka Kurkela
07d50a59bc
Clone cached options if enableOptionSharing!=true ( #7837 )
...
Clone cached options if enableOptionSharing!=true
2020-10-02 08:15:47 -04:00
Jukka Kurkela
c4243683fa
Make dataset animations obey chart level disable ( #7820 )
2020-09-28 09:51:28 -04: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
da33b1bb27
Fix shared option handling ( #7731 )
...
Fix shared option handling
2020-08-27 09:14:08 -04:00
Jukka Kurkela
f79d609548
Add offset option for arc ( #7691 )
...
* Add offset option for arc
* Finishing touches
2020-08-05 07:35:28 -04:00
Ben McCann
426d8debba
Tooltip: add dataPoint and rename value to formattedValue ( #7618 )
...
* Tooltip: add dataPoint and rename value to formattedValue
* Add a test
2020-07-14 17:40:32 -04:00
Jukka Kurkela
91164e8c66
Line hide ( #7612 )
...
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
2020-07-13 13:20:05 -04:00
Jukka Kurkela
7024aad38f
PluginService using registry ( #7590 )
...
PluginService using registry
2020-07-11 18:08:45 -04:00
Jukka Kurkela
6bd5ad5518
Generic registry for controllers, scales, elements and plugins ( #7435 )
...
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-07-06 17:38:04 -04:00
Ben McCann
09a6aea396
Mark parameter as optional ( #7530 )
2020-06-20 07:31:04 -04:00
Jukka Kurkela
6cf97859f0
Consistently resolve element options ( #7520 )
...
* Consistently resolve element options
* Add tests
2020-06-18 17:44:55 -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
Jukka Kurkela
59a1af91ac
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-06-18 17:35:52 -04:00
Jukka Kurkela
1bfd1daa75
Relocate array utils to helpers.collection ( #7498 )
2020-06-12 18:02:12 -04:00
Jukka Kurkela
41f0f12af8
Remove unused _scaleStacked cache ( #7494 )
2020-06-12 17:55:51 -04:00
Jukka Kurkela
026482a0cf
Correctly determine min/max for Float Bar ( #7398 )
2020-06-09 17:15:05 -04:00
Jukka Kurkela
8e7bde25c4
Remove data checks and always re-parse data ( #7458 )
...
* Remove data checks and always re-parse data
* Fix removed helper namespace
2020-06-08 17:49:55 -04:00
Evert Timberg
6f14b145d1
Stacked scatter chart ( #7468 )
...
* Handle partially stacked scatter charts
* Update test files
2020-06-07 16:32:08 -04:00
Jukka Kurkela
f472a3f9a7
Remove proposal and obsolete features ( #7425 )
2020-05-26 19:16:23 -04:00
Samuel Gratzl
3e28825c0f
use direct imports instead of generic helpers import ( #7385 )
...
Split all helper functions in different files and import them directly where used
2020-05-21 16:41:56 -04:00
Jukka Kurkela
50f2a1097a
Detect data modifications with equal values ( #7350 )
...
Fix data shift-push with identical values
2020-05-19 17:58:53 -04:00
Ben McCann
ab1b0ca2b9
Add a JSDoc for _dataCheck ( #7377 )
2020-05-19 17:58:16 -04:00
Ben McCann
19bb07a9f8
Upgrade dependencies ( #7352 )
2020-05-18 09:48:21 -04:00
Ben McCann
c8c577a525
Developer migration documentation ( #7358 )
...
* Update the developer guide intro page
* Expand developer migration documentation
2020-05-15 17:16:04 -04:00
Ben McCann
5ef519e4d2
Shorten imports ( #7168 )
2020-03-01 09:57:24 -05:00
Jukka Kurkela
a3dddb45d9
Use global element hidden status for Pie charts ( #7156 )
...
Use global element hidden status for Pie / polarArea charts
2020-03-01 09:07:39 -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
Jukka Kurkela
7c1fb37c61
Babel @kurkle/color for IE support ( #7099 )
...
Babel @kurkle/color for IE support
2020-02-14 12:29:33 -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
Ben McCann
2f17dbcd70
Prefix private controller methods with underscore ( #7081 )
...
Prefix private controller methods with underscore
2020-02-10 17:57:22 -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
c79e8090e8
Make datasetController an ES6 class ( #7056 )
2020-02-04 18:09:56 -05:00
Ben McCann
1c18a74ea0
Fix some JSDoc errors ( #7026 )
...
* Fix some JSDoc errors
* Fix helpers.dom JSDoc errors
* Add scale JSDoc errors
* Address review comment
* Fix additional errors
* Document optional parameters
* JSDoc fixes for datasetController
* Remove undefined
2020-02-03 07:52:55 -05:00
Jukka Kurkela
9fda5ec667
Use binary search for interpolations ( #6958 )
2020-01-21 18:31:17 -05:00
Ben McCann
9bd2af9e9b
Move location of dataset options ( #6955 )
...
* Move location of dataset options
* Fix misplaced period
2020-01-13 19:39:30 -05:00
Jukka Kurkela
f1817979a0
Fix log scale calculations ( #6903 )
...
* Fix log scale calculations
* Fully remove _valueOffset
* Invalidate 0
* Review update
* Skip NaN
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com >
2020-01-13 19:36:50 -05:00
Jukka Kurkela
5e6fb37646
Detect stack change ( #6947 )
...
* Detect stack change
* Add test
2020-01-13 19:33:24 -05:00
Jukka Kurkela
5054ecfd7e
Re-parse existing elements when data is replaced ( #6925 )
...
* Re-parse existing elements when data is replaced
* Update test
2020-01-10 18:31:17 -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
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
afe30ca642
Determine if data is sorted ( #6885 )
...
* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs
2020-01-03 13:56:41 -05:00
Ben McCann
8bc250f63a
Remove unnecessary method argument ( #6878 )
...
Remove unnecessary method argument
2019-12-31 08:23:03 -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
Ben McCann
fc7a72a8c1
Remove helpers.where and unnecessary calls to helpers.each ( #6860 )
...
* Remove unnecessary calls to helpers.each
* Remove where
2019-12-25 08:21:42 -05:00
Jukka Kurkela
d60f634ff0
Fix automatic min value of stacked scale. ( #6851 )
2019-12-19 14:58:23 -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