Commit Graph

16 Commits

Author SHA1 Message Date
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