]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoProposed fix for issue #6830 (#6884)
Marc Silverman [Wed, 15 Jan 2020 22:13:36 +0000 (14:13 -0800)] 
Proposed fix for issue #6830 (#6884)

* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830

* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.

* Moved to use options.radius instead of caching radius; updated related migration docs.

5 years agoFix reference to distanceBetweenPoints (#6962)
Ben McCann [Tue, 14 Jan 2020 23:26:35 +0000 (15:26 -0800)] 
Fix reference to distanceBetweenPoints (#6962)

5 years agoOptimize category parse for usual use case (#6959)
Jukka Kurkela [Tue, 14 Jan 2020 23:22:17 +0000 (01:22 +0200)] 
Optimize category parse for usual use case (#6959)

5 years agoThrottle all events (to 1 / frame each) (#6953)
Jukka Kurkela [Tue, 14 Jan 2020 12:34:08 +0000 (14:34 +0200)] 
Throttle all events (to 1 / frame each) (#6953)

* Throttle all events
* Asynchronize event tests

5 years agoMove location of dataset options (#6955)
Ben McCann [Tue, 14 Jan 2020 00:39:30 +0000 (16:39 -0800)] 
Move location of dataset options (#6955)

* Move location of dataset options
* Fix misplaced period

5 years agoFix log scale calculations (#6903)
Jukka Kurkela [Tue, 14 Jan 2020 00:36:50 +0000 (02:36 +0200)] 
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>
5 years agowaitForResize before resizing (#6954)
Jukka Kurkela [Tue, 14 Jan 2020 00:35:44 +0000 (02:35 +0200)] 
waitForResize before resizing (#6954)

* waitForResize before resizing
* Change the failing test
* Change the other leaking test too

5 years agoScriptable tick fonts (#6939)
Ben McCann [Tue, 14 Jan 2020 00:33:46 +0000 (16:33 -0800)] 
Scriptable tick fonts (#6939)

* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting

5 years agoDetect stack change (#6947)
Jukka Kurkela [Tue, 14 Jan 2020 00:33:25 +0000 (02:33 +0200)] 
Detect stack change (#6947)

* Detect stack change
* Add test

5 years agoAdd stroke lines option around ticks to improve readability (#6787)
Jose Raul Pérez [Sun, 12 Jan 2020 19:22:51 +0000 (20:22 +0100)] 
Add stroke lines option around ticks to improve readability (#6787)

Enable stroking of text on of axis labels

5 years agoLimit interactions to chartArea (+/-0.5px) (#6943)
Jukka Kurkela [Sat, 11 Jan 2020 23:10:32 +0000 (01:10 +0200)] 
Limit interactions to chartArea (+/-0.5px) (#6943)

Limit interactions to chartArea (+/-0.5px)

5 years agoRe-parse existing elements when data is replaced (#6925)
Jukka Kurkela [Fri, 10 Jan 2020 23:31:17 +0000 (01:31 +0200)] 
Re-parse existing elements when data is replaced (#6925)

* Re-parse existing elements when data is replaced
* Update test

5 years agoPolar area: startAngle in degrees, 0 at top. (#6936)
Ben McCann [Fri, 10 Jan 2020 23:30:29 +0000 (15:30 -0800)] 
Polar area: startAngle in degrees, 0 at top. (#6936)

* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
5 years agoTry beta Chrome (#6933)
Jukka Kurkela [Fri, 10 Jan 2020 23:29:34 +0000 (01:29 +0200)] 
Try beta Chrome (#6933)

* Try beta chrome
* Update path

5 years agoAdd the ability to add a title to the legend (#6906)
Evert Timberg [Fri, 10 Jan 2020 23:28:51 +0000 (18:28 -0500)] 
Add the ability to add a title to the legend (#6906)

* Add the ability to add a title to the legend

- Legend title can be specified
- Font & color options added
- Padding option added
- Positioning option added
- Legend title sample file added

5 years agoAccount for hoverRadius in Point.size() (#6945)
Jukka Kurkela [Fri, 10 Jan 2020 23:28:06 +0000 (01:28 +0200)] 
Account for hoverRadius in Point.size() (#6945)

* Account for hoverRadius in Point.size()
* Update fixtures

5 years agoDraw active points last (#6944)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:31 +0000 (01:27 +0200)] 
Draw active points last (#6944)

5 years agoUpdate moment to 2.24 in samples (#6948)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:16 +0000 (01:27 +0200)] 
Update moment to 2.24 in samples (#6948)

5 years agoFix broken config in log scatter sample (#6937)
Ben McCann [Thu, 9 Jan 2020 21:25:31 +0000 (13:25 -0800)] 
Fix broken config in log scatter sample (#6937)

5 years agoSwitch most requires to imports (#6935)
Ben McCann [Thu, 9 Jan 2020 12:23:53 +0000 (04:23 -0800)] 
Switch most requires to imports (#6935)

5 years agoBar chores (#6889)
Jukka Kurkela [Wed, 8 Jan 2020 22:27:17 +0000 (00:27 +0200)] 
Bar chores (#6889)

* Limit invisible bar section size

* Improve readability

* Fix for issue 6368

* Raview update

* Review update, add test

* Typos

* Try to make sense :)

5 years agoUpgrade Ubuntu on Travis to match GitHub actions (#6932)
Ben McCann [Wed, 8 Jan 2020 12:37:22 +0000 (04:37 -0800)] 
Upgrade Ubuntu on Travis to match GitHub actions (#6932)

5 years agoStop using old OS on Travis (#6930)
Ben McCann [Tue, 7 Jan 2020 21:45:04 +0000 (13:45 -0800)] 
Stop using old OS on Travis (#6930)

5 years agoRemove futile optimization (#6928)
Jukka Kurkela [Tue, 7 Jan 2020 16:27:44 +0000 (18:27 +0200)] 
Remove futile optimization (#6928)

5 years agoMake sampleSize apply to computeLabelSizes (#6926)
Ben McCann [Tue, 7 Jan 2020 12:43:47 +0000 (04:43 -0800)] 
Make sampleSize apply to computeLabelSizes (#6926)

5 years agoImprove calculation for number of ticks that can fit (#6927)
Ben McCann [Tue, 7 Jan 2020 12:26:29 +0000 (04:26 -0800)] 
Improve calculation for number of ticks that can fit (#6927)

5 years agoTypos fix (#6924)
Elina Gorshkova [Mon, 6 Jan 2020 23:07:08 +0000 (18:07 -0500)] 
Typos fix  (#6924)

* Fixed spelling typo

Changed 'are know' to 'are known'

* Fix spelling in the docs

Added a missing comma

* Fix spelling in the docs

Added a missing comma

5 years agoUpdate tooltip docs with working example (#6918)
Evert Timberg [Mon, 6 Jan 2020 22:49:36 +0000 (17:49 -0500)] 
Update tooltip docs with working example (#6918)

5 years agoAdd API to change data visibility (#6907)
Evert Timberg [Mon, 6 Jan 2020 22:16:00 +0000 (17:16 -0500)] 
Add API to change data visibility (#6907)

5 years agoAdd multi series pie example (#6919)
Evert Timberg [Mon, 6 Jan 2020 20:04:41 +0000 (15:04 -0500)] 
Add multi series pie example (#6919)

5 years agoHandle font sizes that are set as strings (#6921)
Evert Timberg [Mon, 6 Jan 2020 12:40:49 +0000 (07:40 -0500)] 
Handle font sizes that are set as strings (#6921)

5 years agoInternal data by axis instead of scale id (#6912)
Jukka Kurkela [Mon, 6 Jan 2020 12:22:18 +0000 (14:22 +0200)] 
Internal data by axis instead of scale id (#6912)

* Internal data by axis instead of scale id

* Test

* Update test

* Update docs

5 years agoScale cleanup (#6916)
Ben McCann [Sun, 5 Jan 2020 21:42:15 +0000 (13:42 -0800)] 
Scale cleanup (#6916)

5 years agoBar chart defaults to begin at zero (#6917)
Evert Timberg [Sun, 5 Jan 2020 20:50:24 +0000 (15:50 -0500)] 
Bar chart defaults to begin at zero (#6917)

* Bar chart defaults to begin at zero

* Add bar beginAtZero test

5 years agoTitle alignment options (#6908)
Evert Timberg [Sun, 5 Jan 2020 19:59:57 +0000 (14:59 -0500)] 
Title alignment options (#6908)

* Add alignment options for title plugin.

Alignment can be set to 'start', 'center'. or 'end'. A new sample has been added as well.

* Update sample file title

5 years agoRemove minSize (#6910)
Ben McCann [Sun, 5 Jan 2020 15:42:42 +0000 (07:42 -0800)] 
Remove minSize (#6910)

5 years agoRemove `for of` loops for IE compatibility (#6905)
Jukka Kurkela [Sat, 4 Jan 2020 17:59:27 +0000 (19:59 +0200)] 
Remove `for of` loops for IE compatibility (#6905)

5 years ago#5573 Link PolarArea chart docs to radial axis docs (#6901)
Evert Timberg [Fri, 3 Jan 2020 19:56:22 +0000 (14:56 -0500)] 
#5573 Link PolarArea chart docs to radial axis docs (#6901)

5 years agoRemove global from defaults (#6893)
Jukka Kurkela [Fri, 3 Jan 2020 19:07:38 +0000 (21:07 +0200)] 
Remove global from defaults (#6893)

5 years agoSmall optimizations (#6868)
Jukka Kurkela [Fri, 3 Jan 2020 18:57:25 +0000 (20:57 +0200)] 
Small optimizations (#6868)

* Only extend element if configuration is provided

* Time scale lookup optimization

5 years agoDetermine if data is sorted (#6885)
Jukka Kurkela [Fri, 3 Jan 2020 18:56:42 +0000 (20:56 +0200)] 
Determine if data is sorted (#6885)

* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs

5 years agoRemove HTML legend that is mostly unsupported. (#6887)
Evert Timberg [Fri, 3 Jan 2020 18:56:11 +0000 (13:56 -0500)] 
Remove HTML legend that is mostly unsupported. (#6887)

* Remove HTML legend that is mostly unsupported.

Resolves the discussion in #5070

* Add migration docs

5 years agoEnable override settings for the axis border (#6883)
Evert Timberg [Fri, 3 Jan 2020 18:55:50 +0000 (13:55 -0500)] 
Enable override settings for the axis border (#6883)

* Enable override settings for the axis border - #4041

Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.

* Correct spelling

5 years agoUpdate documentation of `order` (#6897)
Jukka Kurkela [Fri, 3 Jan 2020 14:08:15 +0000 (16:08 +0200)] 
Update documentation of  `order` (#6897)

5 years agoLinear scale: use suggested limits as defaults (#6892)
Jukka Kurkela [Fri, 3 Jan 2020 14:07:33 +0000 (16:07 +0200)] 
Linear scale: use suggested limits as defaults (#6892)

* Linear scale: use suggested limits as defaults

* Review update

5 years agoUpdate some dependencies that have security alerts (#6891)
Evert Timberg [Thu, 2 Jan 2020 14:42:48 +0000 (09:42 -0500)] 
Update some dependencies that have security alerts (#6891)

5 years agoConvert `Chart` class to an ES6 class (#6886)
Evert Timberg [Wed, 1 Jan 2020 23:11:16 +0000 (18:11 -0500)] 
Convert `Chart` class to an ES6 class (#6886)

* Chart class is now an ES6 class
* Use of const and let in core Chart class
* Use import/export for core Chart file

5 years agoRemove outdated element tests (#6869)
Ben McCann [Wed, 1 Jan 2020 21:02:17 +0000 (15:02 -0600)] 
Remove outdated element tests (#6869)

5 years agoOptimize arrayUnique (#6871)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:33 +0000 (19:56 +0200)] 
Optimize arrayUnique (#6871)

5 years agoRewrite filler (#6795)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:15 +0000 (19:56 +0200)] 
Rewrite filler (#6795)

Filler plugin is rewritten and test coverage increased

5 years agoRemove unnecessary method argument (#6878)
Ben McCann [Tue, 31 Dec 2019 13:23:03 +0000 (07:23 -0600)] 
Remove unnecessary method argument (#6878)

Remove unnecessary method argument

5 years agoIE11 compatibility (#6872)
Jukka Kurkela [Mon, 30 Dec 2019 22:15:57 +0000 (00:15 +0200)] 
IE11 compatibility (#6872)

5 years agoUse ticks consistently (#6873)
Jukka Kurkela [Mon, 30 Dec 2019 22:14:55 +0000 (00:14 +0200)] 
Use ticks consistently (#6873)

5 years agoFix default collections table (#6879)
Jukka Kurkela [Mon, 30 Dec 2019 21:54:19 +0000 (23:54 +0200)] 
Fix default collections table (#6879)

5 years agoImproved getMaxOverflow (#6874)
Ben McCann [Mon, 30 Dec 2019 19:54:13 +0000 (13:54 -0600)] 
Improved getMaxOverflow (#6874)

5 years agocore.animations ES6 (#6867)
Jukka Kurkela [Sun, 29 Dec 2019 21:55:01 +0000 (23:55 +0200)] 
core.animations ES6 (#6867)

5 years agoResync metasets array when indices change. (#6864)
Jukka Kurkela [Sat, 28 Dec 2019 14:49:34 +0000 (16:49 +0200)] 
Resync metasets array when indices change. (#6864)

* Resync metasets array when indices change.
* Make sure _metasets is initialized

5 years agoAlphabetize migration guide (#6865)
Ben McCann [Sat, 28 Dec 2019 13:19:32 +0000 (05:19 -0800)] 
Alphabetize migration guide (#6865)

Alphabetize migration guide

5 years agoRewrite animation logic (#6845)
Jukka Kurkela [Fri, 27 Dec 2019 22:13:24 +0000 (00:13 +0200)] 
Rewrite animation logic (#6845)

* Rewrite animation logic

* Review update 1

* Review update 2

* Review update 3

* Add 'none' to api.md

5 years agoReplace Object.entries with Object.keys (#6862)
Ben McCann [Thu, 26 Dec 2019 13:49:22 +0000 (05:49 -0800)] 
Replace Object.entries with Object.keys (#6862)

5 years agoRemove helpers.where and unnecessary calls to helpers.each (#6860)
Ben McCann [Wed, 25 Dec 2019 13:21:42 +0000 (05:21 -0800)] 
Remove helpers.where and unnecessary calls to helpers.each (#6860)

* Remove unnecessary calls to helpers.each

* Remove where

5 years agoRemove executable bit from tests (#6854)
Ben McCann [Sat, 21 Dec 2019 02:14:41 +0000 (18:14 -0800)] 
Remove executable bit from tests (#6854)

5 years agoFix log scale autoSkip issues (#6853)
Ben McCann [Sat, 21 Dec 2019 02:14:21 +0000 (18:14 -0800)] 
Fix log scale autoSkip issues (#6853)

5 years ago(feature) Added separate top and bottom padding for title plugin. (#6852)
SansDK [Fri, 20 Dec 2019 13:21:20 +0000 (14:21 +0100)] 
(feature) Added separate top and bottom padding for title plugin. (#6852)

* (feature) Added separate top and bottom padding for title plugin.

* Added regular padding multiplier like how it was before.

* Now makes use of toPadding helper.
Fixed typo in toPadding helper.

* Fixed requested changes.

5 years agoFix automatic `min` value of `stacked` scale. (#6851)
Jukka Kurkela [Thu, 19 Dec 2019 19:58:23 +0000 (21:58 +0200)] 
Fix automatic `min` value of `stacked` scale. (#6851)

5 years agoRemoved unused method (#6849)
Ben McCann [Thu, 19 Dec 2019 13:27:32 +0000 (05:27 -0800)] 
Removed unused method (#6849)

5 years agoFix category scale autoSkip (#6847)
Ben McCann [Wed, 18 Dec 2019 16:01:53 +0000 (08:01 -0800)] 
Fix category scale autoSkip (#6847)

5 years agoFix rendering of table in tooltip documentation (#6846)
Ben McCann [Wed, 18 Dec 2019 16:01:38 +0000 (08:01 -0800)] 
Fix rendering of table in tooltip documentation (#6846)

5 years agoMake tests work with karma-cli (#6840)
Ben McCann [Tue, 17 Dec 2019 19:18:19 +0000 (11:18 -0800)] 
Make tests work with karma-cli (#6840)

5 years agoMove all helpers to src/helpers (#6841)
Evert Timberg [Tue, 17 Dec 2019 13:04:40 +0000 (08:04 -0500)] 
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

5 years agoAllow axes to be centered on the chart area (#6818)
Evert Timberg [Mon, 16 Dec 2019 23:17:42 +0000 (18:17 -0500)] 
Allow axes to be centered on the chart area (#6818)

Allow axes to be centered on the chart area or at a dynamic position based on another axis

5 years agoOptimize tooltip event handler (#6827)
Ben McCann [Sun, 15 Dec 2019 13:26:17 +0000 (05:26 -0800)] 
Optimize tooltip event handler (#6827)

* Optimize tooltip event handler

* Address review comments

* Additional cleanup

5 years agoRename calculateTickRotation to calculateLabelRotation (#6809)
Ben McCann [Sat, 14 Dec 2019 18:22:57 +0000 (10:22 -0800)] 
Rename calculateTickRotation to calculateLabelRotation (#6809)

5 years agoInteractions cleanup (#6825)
Ben McCann [Sat, 14 Dec 2019 18:09:50 +0000 (10:09 -0800)] 
Interactions cleanup (#6825)

5 years agoCache sorting order of dataset metas (#6757)
Jukka Kurkela [Sat, 14 Dec 2019 18:03:09 +0000 (20:03 +0200)] 
Cache sorting order of dataset metas (#6757)

* Cache sorting order of dataset metas
* Cache dataset visibility

5 years agoMake elements optional (#6829)
Ben McCann [Sat, 14 Dec 2019 04:52:18 +0000 (20:52 -0800)] 
Make elements optional (#6829)

5 years agoTests and fixes for data watching (#6831)
Ben McCann [Sat, 14 Dec 2019 04:51:59 +0000 (20:51 -0800)] 
Tests and fixes for data watching (#6831)

* Tests and fixes for data watching
* Remove call to _configure

5 years agoShrink _parsed to match if dataset shrinks (#6826)
Ben McCann [Tue, 10 Dec 2019 23:57:21 +0000 (15:57 -0800)] 
Shrink _parsed to match if dataset shrinks (#6826)

5 years agoConvert line controller to use const/let (#6820)
Ben McCann [Tue, 10 Dec 2019 23:56:42 +0000 (15:56 -0800)] 
Convert line controller to use const/let (#6820)

5 years agoStore parsed data more similarly to provided data (#6814)
Ben McCann [Sun, 8 Dec 2019 13:52:11 +0000 (05:52 -0800)] 
Store parsed data more similarly to provided data (#6814)

* Store parsed data more similarly to provided data

* Add test

5 years agoMake the build reproducible (#6817)
Chris Lamb [Sat, 7 Dec 2019 15:41:56 +0000 (15:41 +0000)] 
Make the build reproducible (#6817)

Whilst working on the Reproducible Builds effort [0] we noticed that
Chart.js could not be built reproducibly.

This is because it was embedding another build date in a "banner"
comment. This patch uses the value from SOURCE_DATE_EPOCH [1] if
present.

This was originally filed in Debian as #946333 [2].

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/
 [2] https://bugs.debian.org/946333

Signed-off-by: Chris Lamb <lamby@debian.org>
5 years agoAllow pre-parsed data (to scale id's) (#6768)
Jukka Kurkela [Sat, 7 Dec 2019 00:47:00 +0000 (02:47 +0200)] 
Allow pre-parsed data (to scale id's) (#6768)

* Allow pre-parsed data (to scale id's)
* Only update `count` references in pre-parsed mode
* Documentation

5 years agoScale use modules (#6813)
Evert Timberg [Sat, 7 Dec 2019 00:44:53 +0000 (19:44 -0500)] 
Scale use modules (#6813)

5 years agoUse const/let in time scale (#6806)
Ben McCann [Tue, 3 Dec 2019 22:53:33 +0000 (14:53 -0800)] 
Use const/let in time scale (#6806)

5 years agoUpdate GitHub Actions CI to include pull requests (#6705)
Edward Thomson [Tue, 3 Dec 2019 22:52:39 +0000 (09:52 +1100)] 
Update GitHub Actions CI to include pull requests (#6705)

* Update GitHub Actions CI to include pull requests

Update GitHub Actions CI to include pull requests, and limit both triggers to the master branch.

* Run coveralls publish on bash

Always run coveralls publish on bash - on Windows, the default shell is PowerShell but that is not appropriate for this workflow.

* Run GitHub Actions against the 2.9 branch
* Temporarily remove macOS continuous integration

Chrome is unhappy executing the tests after an update to macOS Catalina.
Remove macOS CI until that can be resolved.

5 years agoFix typo (#6805)
Ben McCann [Tue, 3 Dec 2019 22:52:04 +0000 (14:52 -0800)] 
Fix typo (#6805)

5 years agoConvert src/helpers to use ES6 exports (#6797)
Evert Timberg [Sun, 1 Dec 2019 18:28:34 +0000 (13:28 -0500)] 
Convert src/helpers to use ES6 exports (#6797)

* Canvas helpers exported
* Easing helpers use exports
* Math helper uses export
* Linting
* RTL options use export
* Allow object spread operator
* Rest of helpers use `export`

5 years agoRemove createElement and pre-allocate arrays (#6788)
Ben McCann [Thu, 28 Nov 2019 12:00:50 +0000 (04:00 -0800)] 
Remove createElement and pre-allocate arrays (#6788)

* Remove createElement and pre-allocate arrays

* Address review comment

5 years agoImprove autoSkip performance (#6783)
Ben McCann [Wed, 27 Nov 2019 23:24:57 +0000 (15:24 -0800)] 
Improve autoSkip performance (#6783)

* Improve autoSkip performance

* Maintain tick ordering

5 years agoSimplify stacking even more, leverage more ES6 features (#6769)
Jukka Kurkela [Sun, 24 Nov 2019 12:53:52 +0000 (14:53 +0200)] 
Simplify stacking even more, leverage more ES6 features (#6769)

* Simplify stacking even more
* Destructuring

5 years agoAdd min/max to performance documentation (#6785)
Jukka Kurkela [Sat, 23 Nov 2019 22:39:12 +0000 (00:39 +0200)] 
Add min/max to performance documentation (#6785)

* Add min/max to performance documentation

* Review1

* Review2

5 years agoUse correct dataset index in parseVisibleItems (#6786)
Jukka Kurkela [Sat, 23 Nov 2019 22:38:48 +0000 (00:38 +0200)] 
Use correct dataset index in parseVisibleItems (#6786)

* Use correct dataset index

* Review1

5 years agoAssume time series data has been normalized (#6775)
Ben McCann [Sat, 23 Nov 2019 22:37:32 +0000 (14:37 -0800)] 
Assume time series data has been normalized (#6775)

* Assume time series data has been normalized

* Add sentance to docs

5 years agoConvert elements to use ES6 modules (import/export) (#6776)
Evert Timberg [Sat, 23 Nov 2019 17:26:55 +0000 (12:26 -0500)] 
Convert elements to use ES6 modules (import/export) (#6776)

* Enable ES6 modules
* Convert elements to use import/export
* Need default export for backwards compatibility
* Remove dangling comma

5 years agoFix broken tests (#6780)
Evert Timberg [Fri, 22 Nov 2019 12:28:31 +0000 (07:28 -0500)] 
Fix broken tests (#6780)

5 years agoConvert axis options from arrays to objects (#6773)
Jukka Kurkela [Thu, 21 Nov 2019 23:46:49 +0000 (01:46 +0200)] 
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

5 years agoAllow filling above and below with different colors (#6318)
L M [Thu, 21 Nov 2019 18:48:31 +0000 (19:48 +0100)] 
Allow filling above and below with different colors (#6318)

Two colors allowed : first one to fill above the target, second to fill below
Tests added
Docs edited

5 years agoDon't store _meta on dataset (#6778)
Ben McCann [Thu, 21 Nov 2019 12:20:18 +0000 (04:20 -0800)] 
Don't store _meta on dataset (#6778)

5 years agoRemove Element.initialize (#6777)
Ben McCann [Thu, 21 Nov 2019 12:06:15 +0000 (04:06 -0800)] 
Remove Element.initialize (#6777)

5 years agoRemove _ctx from Element (#6764)
Jukka Kurkela [Wed, 20 Nov 2019 00:01:32 +0000 (02:01 +0200)] 
Remove _ctx from Element (#6764)

* Remove _ctx from Element

* Sort