Jukka Kurkela
33a4927510
Make sure data is parsed before updateElements ( #9187 )
...
* Make sure data is parsed before updateElements
* Add test
2021-05-30 21:56:17 +03:00
Jukka Kurkela
749d1fc942
Fix animations when data is replaced ( #9120 )
2021-05-18 19:24:35 -04:00
Jukka Kurkela
d1a243efec
Delay data to elements synchronization to update ( #9105 )
2021-05-15 08:22:15 -04:00
Jukka Kurkela
fbff165942
Make sure context indices are up to date ( #9101 )
2021-05-14 17:16:22 -04:00
Evert Timberg
b92f9e52fd
Only enable the bar borderRadius at the end of the stacks ( #8941 )
...
* Only enable the bar borderRadius at the end of the stacks
* Float bars always get borders enabled
* Tests
* Update documentation
2021-04-18 16:30:54 -04:00
Prateek R Patil
c107f895aa
Fix for allowing parsing:false with stacks ( #8934 )
...
* Initial fix for allowing parsing:false with stacks
* Added test from #8935 as requested.
Co-authored-by: tinfoilpancakes <tfm357@gmail.com>
2021-04-18 07:28:56 -04:00
Jukka Kurkela
1451e5aee6
Add ability to stack different dataset types ( #8797 )
2021-04-03 09:23:35 -04:00
Jukka Kurkela
bc2c92e65c
Ensure scriptable context reflects updated data ( #8765 )
2021-04-01 07:17:02 -04:00
Jukka Kurkela
86b1892810
Resolve to false only when _fallback is used ( #8542 )
...
* Resolve to false only when _fallback is used
* Typo
* 2nd part
2021-02-28 17:32:56 -05:00
Jukka Kurkela
5d5e48d01b
Isolate properties / modes from animation options ( #8332 )
...
* Isolate properties / modes from animation options
* tabs, something wrong with the linter
* Update misleading variable name
2021-02-20 09:02:22 -05:00
Jukka Kurkela
cfd9c98575
Option resolution with proxies ( #8374 )
...
* Option resolution with proxies
* Remove plugin fallback to root options/defaults
* Update core plugins, reduntant font fallbacks
* Add some notes
2021-02-15 14:42:32 -05:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 ( #8406 )
2021-02-10 08:21:39 -05:00
LeeLenaleee
aa9a04a014
Skip delete undefined stack ( #8291 )
...
* fixes error on undefined stacks
* added test for functionality
2021-01-09 10:27:18 -05:00
Jukka Kurkela
ddc72fcfbb
Align font options with CSS ( #8066 )
...
* Align font options with CSS
* Review comments
2020-11-19 20:59:24 +02:00
Jukka Kurkela
10ffe753d9
When data is removed, remove from stacks too ( #8013 )
...
* When data is removed, remove from stacks too
* Remove unreferenced metasets
2020-11-06 08:05:56 -05: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
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
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
Jukka Kurkela
f3cfeb8420
Implement routing of defaults ( #7453 )
...
Implement routing of defaults
2020-06-08 17:49:17 -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
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
2f17dbcd70
Prefix private controller methods with underscore ( #7081 )
...
Prefix private controller methods with underscore
2020-02-10 17:57:22 -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
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
Ben McCann
3baade7862
Tests and fixes for data watching ( #6831 )
...
* Tests and fixes for data watching
* Remove call to _configure
2019-12-13 23:51:59 -05:00
Ben McCann
b7caa2410c
Store parsed data more similarly to provided data ( #6814 )
...
* Store parsed data more similarly to provided data
* Add test
2019-12-08 08:52:11 -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
Akihiko Kusanagi
9eecdf4da1
Update dataset metadata when axisID changes ( #6321 )
2019-06-14 11:34:56 +02:00
Evert Timberg
ef507e11bd
Handle inextensible dataset.data
array ( #6060 )
2019-02-11 19:31:26 +01:00
Simon Brunel
c216c0af76
Cleanup and upgrade unit tests environment
...
`karma.conf.ci.js` has been merged into `karma.conf.js` for local testing consistency: `gulp unittestWatch` has been replaced by `gulp unittest --watch` and thus use exactly the same config file. Upgrade to latest jasmine and karma packages and remove deprecated `gulp-karma` dependency (directly use `karma.Server` in gulp).
Split `test/mockContext.js` into smaller `test/jasmine.*` modules to make easier unit tests maintenance and finally, move all `*.test.js` files under the `test/specs` folder.
2017-03-04 11:39:48 -05:00