]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
4 years agofeat: Make options.layout.padding scriptable. Closes #7873 (#7968)
Dan Manastireanu [Wed, 28 Oct 2020 15:28:17 +0000 (17:28 +0200)] 
feat: Make options.layout.padding scriptable. Closes #7873 (#7968)

4 years agoLegend item lineWidth is the average of borderWidth when set as object (Bar) (#7964)
stockiNail [Wed, 28 Oct 2020 11:12:52 +0000 (12:12 +0100)] 
Legend item lineWidth is the average of borderWidth when set as object (Bar) (#7964)

* fixed default of tension property of line element

* Fix #7942

* Fixes some lint errors

* fixes "Expected property shorthand" error

4 years agofix return type for setActiveElements (#7961)
Fabian [Mon, 26 Oct 2020 20:31:45 +0000 (22:31 +0200)] 
fix return type for setActiveElements (#7961)

4 years agoAdd borderRadius to bar charts. Closes #7701 (#7951)
Dan Manastireanu [Mon, 26 Oct 2020 14:05:24 +0000 (16:05 +0200)] 
Add borderRadius to bar charts. Closes #7701 (#7951)

* Add helper to parse border radius options
* feat: Implement borderRadius for bar charts
* chore: add demo of bar charts with border radius
* chore: document bar borderRadius
* chore: update typescript with bar borderRadius property
* fix horizontal borders test failing due to antialiasing
* chore: Add border-radius visual test

4 years agoEnable overriding the legend pointStyle using new `pointStyle` option (#7959)
Evert Timberg [Mon, 26 Oct 2020 12:16:00 +0000 (08:16 -0400)] 
Enable overriding the legend pointStyle using new `pointStyle` option (#7959)

4 years agoEnable suggestedMin and suggestedMax setts for logarithmic axes (#7955)
Evert Timberg [Sun, 25 Oct 2020 14:38:41 +0000 (10:38 -0400)] 
Enable suggestedMin and suggestedMax setts for logarithmic axes (#7955)

4 years agoUpdate stacked line sample to remove duplicate dataset names (#7957)
Evert Timberg [Sun, 25 Oct 2020 14:27:54 +0000 (10:27 -0400)] 
Update stacked line sample to remove duplicate dataset names (#7957)

4 years agoUpdate category scale labels types to include string[][] (#7953)
Evert Timberg [Sat, 24 Oct 2020 22:30:44 +0000 (18:30 -0400)] 
Update category scale labels types to include string[][] (#7953)

4 years agoMove config handling to a dedicated script (#7939)
Jukka Kurkela [Sat, 24 Oct 2020 15:37:37 +0000 (18:37 +0300)] 
Move config handling to a dedicated script (#7939)

* Split core.config.js out of core.controller.js

* Remove side effects from config.js

* Turn config into a class

* Refactor config merging as includeDefaults

4 years agoAdd args.mode to before/after update plugin hooks (#7949)
Jukka Kurkela [Sat, 24 Oct 2020 15:36:31 +0000 (18:36 +0300)] 
Add args.mode to before/after update plugin hooks (#7949)

4 years agoSwitch from bundlewatch to compressed-size (#7943)
Jukka Kurkela [Thu, 22 Oct 2020 14:45:17 +0000 (17:45 +0300)] 
Switch from bundlewatch to compressed-size (#7943)

Switch from bundlewatch to compressed-size

4 years agoAdd *.json to .editorconfig (#7941)
Jukka Kurkela [Wed, 21 Oct 2020 17:30:55 +0000 (20:30 +0300)] 
Add *.json to .editorconfig (#7941)

* Add *.json to .editorconfig

* Modify bundlewatch

4 years agoAdd bundlewatch (#7940)
Jukka Kurkela [Wed, 21 Oct 2020 17:14:52 +0000 (20:14 +0300)] 
Add bundlewatch (#7940)

* Add bundlewatch

4 years agoRename showLines to showLine (#7936)
Jukka Kurkela [Wed, 21 Oct 2020 12:13:27 +0000 (15:13 +0300)] 
Rename showLines to showLine (#7936)

4 years agoRename elements to mark as elements, i.e. Arc -> ArcElement (#7924)
Evert Timberg [Tue, 20 Oct 2020 12:18:56 +0000 (08:18 -0400)] 
Rename elements to mark as elements, i.e. Arc -> ArcElement (#7924)

* Rename elements to mark as elements, i.e. Arc -> ArcElement
* Rename RectangleElement to BarElement
* Also updates options.elements.rectangle to options.elements.bar

4 years agoAdd interaction options (#7922)
Jukka Kurkela [Mon, 19 Oct 2020 11:24:06 +0000 (14:24 +0300)] 
Add interaction options (#7922)

* Add interaction options
* Add migration note

4 years agoAdd example of event to data values (#7925)
Evert Timberg [Mon, 19 Oct 2020 05:07:03 +0000 (01:07 -0400)] 
Add example of event to data values (#7925)

4 years agoFix broken urls in docs (#7912)
SaintMalik [Sun, 18 Oct 2020 18:30:05 +0000 (19:30 +0100)] 
Fix broken urls in docs (#7912)

4 years agoBlock incorrect keys in merge code to prevent prototype pollution (#7919)
Evert Timberg [Sun, 18 Oct 2020 18:16:20 +0000 (14:16 -0400)] 
Block incorrect keys in merge code to prevent prototype pollution (#7919)

* Port fix from v2

* Port test

* Test both merge and mergeIf

4 years agoUse Object.create(null) as `merge` target, to prevent prototype pollution (#7917)
Jukka Kurkela [Sun, 18 Oct 2020 17:31:01 +0000 (20:31 +0300)] 
Use Object.create(null) as `merge` target, to prevent prototype pollution (#7917)

Use Object.create(null) as merge target to prevent polluting `Object.prototype`

4 years agoUpdate dependencies (#7915)
Jukka Kurkela [Sun, 18 Oct 2020 16:46:55 +0000 (19:46 +0300)] 
Update dependencies (#7915)

4 years agoRemove area inclusion check when rendering points (#7910)
Takuya Uehara [Sun, 18 Oct 2020 13:54:39 +0000 (22:54 +0900)] 
Remove area inclusion check when rendering points (#7910)

4 years agofix some typos (#7914)
paul cheung [Sun, 18 Oct 2020 13:52:56 +0000 (21:52 +0800)] 
fix some typos (#7914)

4 years agoReduce tooltip implied padding at top and bottom edges of the canvas (#7908)
Evert Timberg [Sun, 18 Oct 2020 13:51:48 +0000 (09:51 -0400)] 
Reduce tooltip implied padding at top and bottom edges of the canvas (#7908)

* Allow the tooltip to get closer to the canvas edge

Closer to the top & bottom by considering (height/2) instead of height.

* Update missing options in TS types

* Remove unneeded brackets

4 years agosome minor typo fix (#7913)
paul cheung [Sun, 18 Oct 2020 13:35:21 +0000 (21:35 +0800)] 
some minor typo fix (#7913)

4 years agoStop deploying docs / drafting releases from forks (#7911)
Jukka Kurkela [Sun, 18 Oct 2020 13:27:29 +0000 (16:27 +0300)] 
Stop deploying docs / drafting releases from forks (#7911)

4 years agoFix version numbers in Developers section of docs (#7909)
Jukka Kurkela [Sun, 18 Oct 2020 13:26:44 +0000 (16:26 +0300)] 
Fix version numbers in Developers section of docs (#7909)

4 years agoAdded in note for browserslist (#7907)
Yash Singh [Sun, 18 Oct 2020 13:26:04 +0000 (06:26 -0700)] 
Added in note for browserslist (#7907)

4 years agoFix Maximum call stack size exception in _computeLabelSizes (#7906)
Matthew Crumley [Sun, 18 Oct 2020 03:52:56 +0000 (23:52 -0400)] 
Fix Maximum call stack size exception in _computeLabelSizes (#7906)

Issue #7881

4 years agoBar chart base value overrides (#7904)
Evert Timberg [Sat, 17 Oct 2020 20:15:40 +0000 (16:15 -0400)] 
Bar chart base value overrides (#7904)

* Bar chart base value overrides
* Ensure that `base` is marked as indexable and scriptable in the docs

4 years agoAbility to fill a line from a specified value along an axis (#7905)
Evert Timberg [Sat, 17 Oct 2020 19:46:56 +0000 (15:46 -0400)] 
Ability to fill a line from a specified value along an axis (#7905)

4 years agoDocument and remove APIs that can be replaced by it (#7900)
Evert Timberg [Sat, 17 Oct 2020 19:12:34 +0000 (15:12 -0400)] 
Document  and remove APIs that can be replaced by it (#7900)

4 years agoRenamed .browserlistrc -> .browserslistrc (#7902)
Yash Singh [Sat, 17 Oct 2020 19:07:52 +0000 (12:07 -0700)] 
Renamed .browserlistrc -> .browserslistrc (#7902)

4 years agoMerge branch 'saintmalik-fix-url-bug'
Evert Timberg [Sat, 17 Oct 2020 14:18:45 +0000 (10:18 -0400)] 
Merge branch 'saintmalik-fix-url-bug'

4 years agoUndo link change that did not work locally
Evert Timberg [Sat, 17 Oct 2020 13:12:25 +0000 (09:12 -0400)] 
Undo link change that did not work locally

4 years agoFix broken url in docs 7901/head
Saintmalik [Sat, 17 Oct 2020 06:16:43 +0000 (06:16 +0000)] 
Fix broken url in docs

4 years agoFix broken url in docs
Saintmalik [Sat, 17 Oct 2020 00:01:52 +0000 (00:01 +0000)] 
Fix broken url in docs

4 years agoFix: beginAtZero for logarighmic (#7899)
Jukka Kurkela [Fri, 16 Oct 2020 14:32:37 +0000 (17:32 +0300)] 
Fix: beginAtZero for logarighmic (#7899)

4 years agoShare min sample size with all bars on same scale (#7897)
Jukka Kurkela [Fri, 16 Oct 2020 12:04:22 +0000 (15:04 +0300)] 
Share min sample size with all bars on same scale (#7897)

Share min sample size with all bars on same scale

4 years agoRemove circular dependencies from helpers (#7898)
Jukka Kurkela [Fri, 16 Oct 2020 11:53:13 +0000 (14:53 +0300)] 
Remove circular dependencies from helpers (#7898)

4 years agoExpand filename (#7893)
Evert Timberg [Fri, 16 Oct 2020 11:40:49 +0000 (07:40 -0400)] 
Expand filename (#7893)

* Fix double env
* Properly expand name in attach step
* Update maintaining docs

4 years agoFix double env (#7892) v3.0.0-beta.4
Evert Timberg [Thu, 15 Oct 2020 21:00:28 +0000 (17:00 -0400)] 
Fix double env (#7892)

4 years agoUpdate workflow to use GitHub releaes (#7891)
Evert Timberg [Thu, 15 Oct 2020 20:37:38 +0000 (16:37 -0400)] 
Update workflow to use GitHub releaes (#7891)

4 years agoShorten alignment settings for axes (#7886)
Evert Timberg [Wed, 14 Oct 2020 12:27:54 +0000 (08:27 -0400)] 
Shorten alignment settings for axes (#7886)

* Rename crossAlignment to crossAlign
* Update alignment to align for cartesian axes

4 years agoTune release-drafter settings (#7884)
Jukka Kurkela [Wed, 14 Oct 2020 10:55:06 +0000 (13:55 +0300)] 
Tune release-drafter settings (#7884)

4 years agoEnsure scripts are marked as executable in git (#7882)
Evert Timberg [Wed, 14 Oct 2020 10:53:12 +0000 (06:53 -0400)] 
Ensure scripts are marked as executable in git (#7882)

4 years agoRemove release branch workflow (#7827)
Evert Timberg [Tue, 13 Oct 2020 21:12:19 +0000 (17:12 -0400)] 
Remove release branch workflow (#7827)

* GitHub actions uses locked install for CI
* Add initial GitHub action to publish to NPM
* Detect the NPM tag (latest vs next) depending on the git tag
* Deploy docs from releases & master commits
* Remove Travis CI
* Update repo badge to use actions status
* Remove Travis env vars and update docs-config to take a parameter
* Update publish script regex to match other scripts
* Deploy docs action only runs in one spot

4 years agoUpdate release-drafter.yml (#7879)
Jukka Kurkela [Tue, 13 Oct 2020 20:18:33 +0000 (23:18 +0300)] 
Update release-drafter.yml (#7879)

4 years agoAdd release-drafter (#7878)
Jukka Kurkela [Tue, 13 Oct 2020 19:34:47 +0000 (22:34 +0300)] 
Add release-drafter (#7878)

* Add release-drafter
* Review feedback

4 years agodocs: Grammar fixes for cartesian and radial docs (#7875)
Tony Martinez [Mon, 12 Oct 2020 22:06:07 +0000 (15:06 -0700)] 
docs: Grammar fixes for cartesian and radial docs (#7875)

4 years agoUpdate custom tooltips to work with multiple charts on a page (#7868)
Evert Timberg [Mon, 12 Oct 2020 14:56:18 +0000 (10:56 -0400)] 
Update custom tooltips to work with multiple charts on a page (#7868)

4 years agoPolar Area `elements.arc.angle` option now returns degrees (#7871)
Evert Timberg [Mon, 12 Oct 2020 14:56:03 +0000 (10:56 -0400)] 
Polar Area `elements.arc.angle` option now returns degrees (#7871)

* Polar Area `elements.arc.angle` option now returns degrees
* Update wording of migration docs

4 years agoAbility to toggle individual bar visibility (#7870)
Evert Timberg [Mon, 12 Oct 2020 14:22:55 +0000 (10:22 -0400)] 
Ability to toggle individual bar visibility (#7870)

4 years agoCartesian axis label cross alignment (#7874)
Evert Timberg [Mon, 12 Oct 2020 14:22:13 +0000 (10:22 -0400)] 
Cartesian axis label cross alignment (#7874)

* Refactor Y axis alignment to it's own method
* Label Cross alignment
* Add documentation of new setting
* Update docs with live sample

4 years agoFix typo in const name (#7872)
Mike Carter [Sun, 11 Oct 2020 15:34:52 +0000 (16:34 +0100)] 
Fix typo in const name (#7872)

4 years agoCartesian axis text alignment (#7846)
Evert Timberg [Sat, 10 Oct 2020 15:38:55 +0000 (11:38 -0400)] 
Cartesian axis text alignment (#7846)

* Generate textBaseline per tick label
* Enable configuration of tick alignment
* Add image based tests of text alignment options

4 years agoAdd tooltip positioning sample (#7865)
Evert Timberg [Fri, 9 Oct 2020 21:21:34 +0000 (17:21 -0400)] 
Add tooltip positioning sample (#7865)

4 years agobeginAtZero support for logarithmic (#7862)
Jukka Kurkela [Wed, 7 Oct 2020 21:37:10 +0000 (00:37 +0300)] 
beginAtZero support for logarithmic (#7862)

4 years agoAdd maxWidth/maxHeight options for legend (#7852)
Jukka Kurkela [Tue, 6 Oct 2020 11:41:16 +0000 (14:41 +0300)] 
Add maxWidth/maxHeight options for legend (#7852)

4 years agoAdd new option, `skipNull` to bar charts that enables skipping null values (#7849)
Evert Timberg [Tue, 6 Oct 2020 11:33:24 +0000 (07:33 -0400)] 
Add new option, `skipNull` to bar charts that enables skipping null values (#7849)

* Add new option, `skipNull` to bar charts that enables skipping null
or undefined values.

* Address code review feedback

* Fix windows CI lint issues

4 years agoEnable custom sorting of the legend items (#7851)
Evert Timberg [Tue, 6 Oct 2020 02:15:38 +0000 (22:15 -0400)] 
Enable custom sorting of the legend items (#7851)

4 years agoProvide APIs to set active (hovered) and tooltip elements. (#7845)
Evert Timberg [Mon, 5 Oct 2020 21:14:38 +0000 (17:14 -0400)] 
Provide APIs to set active (hovered) and tooltip elements. (#7845)

Provide APIs to set active (hovered) and tooltip elements.

Chart.setActiveElements will set the hovered items.
Chart.tooltip.setActiveElements will set the tooltip items.

4 years agoNormalize context creation for option resolution (#7847)
Jukka Kurkela [Mon, 5 Oct 2020 13:03:16 +0000 (16:03 +0300)] 
Normalize context creation for option resolution (#7847)

* Normalize context creation for option resolution
* Pass mode to _computeAngle

4 years agoLimit pixel values further to 16bit integer range (#7848)
Jukka Kurkela [Mon, 5 Oct 2020 12:37:12 +0000 (15:37 +0300)] 
Limit pixel values further to 16bit integer range (#7848)

4 years agoProvide method to lookup a chart from a canvas (#7843)
Evert Timberg [Sun, 4 Oct 2020 15:08:38 +0000 (11:08 -0400)] 
Provide method to lookup a chart from a canvas (#7843)

* Provide method to lookup a chart from a canvas
* Throw an error during construction if a canvas is in use
* Migration docs for new constructor behaviour

4 years agoJS test files should have tabs to correctly lint (#7844)
Evert Timberg [Sun, 4 Oct 2020 11:49:14 +0000 (07:49 -0400)] 
JS test files should have tabs to correctly lint (#7844)

4 years agoRemove enum types (#7841)
emmcbd [Sat, 3 Oct 2020 20:48:22 +0000 (22:48 +0200)] 
Remove enum types (#7841)

* Remove type enum
* Add declare keyword to UpdateModeEnum

4 years agoEnable per-dataset circumference and rotation for pie/doughnut charts (#7833)
Evert Timberg [Sat, 3 Oct 2020 20:47:39 +0000 (16:47 -0400)] 
Enable per-dataset circumference and rotation for pie/doughnut charts (#7833)

* Enable per-dataset circumference and rotation for pie/doughnut charts
* Convert `circumference` and `rotation` options to degrees

4 years agoClone cached options if enableOptionSharing!=true (#7837)
Jukka Kurkela [Fri, 2 Oct 2020 12:15:47 +0000 (15:15 +0300)] 
Clone cached options if enableOptionSharing!=true (#7837)

Clone cached options if enableOptionSharing!=true

4 years agoUse full height for fullWidth box when left/right (#7836)
Jukka Kurkela [Fri, 2 Oct 2020 12:13:04 +0000 (15:13 +0300)] 
Use full height for fullWidth box when left/right (#7836)

Use full height for fullWidth box when left/right

4 years agoFix tooltip font options in sample (#7835)
Jukka Kurkela [Fri, 2 Oct 2020 12:11:01 +0000 (15:11 +0300)] 
Fix tooltip font options in sample (#7835)

4 years agoThe docs build to the dist folder but should not be packaged (#7832) 7831/head
Evert Timberg [Thu, 1 Oct 2020 12:50:01 +0000 (08:50 -0400)] 
The docs build to the dist folder but should not be packaged (#7832)

4 years agoAllow contextmenu (right click) events to trigger the onClick handler (#7828)
Evert Timberg [Thu, 1 Oct 2020 12:47:09 +0000 (08:47 -0400)] 
Allow contextmenu (right click) events to trigger the onClick handler (#7828)

4 years agoInclude dist/chunks in the NPM package (#7830)
Evert Timberg [Thu, 1 Oct 2020 12:34:37 +0000 (08:34 -0400)] 
Include dist/chunks in the NPM package (#7830)

* Include all files in the dist folder
* Bump version for beta3
* Update lockfile

4 years agoBump version to 3.0.0-beta.2 (#7822) 7826/head
Jukka Kurkela [Wed, 30 Sep 2020 12:17:42 +0000 (15:17 +0300)] 
Bump version to 3.0.0-beta.2 (#7822)

4 years agoMake dataset animations obey chart level disable (#7820)
Jukka Kurkela [Mon, 28 Sep 2020 13:51:28 +0000 (16:51 +0300)] 
Make dataset animations obey chart level disable (#7820)

4 years agoflat helpers (#7806)
Samuel Gratzl [Mon, 28 Sep 2020 13:11:55 +0000 (15:11 +0200)] 
flat helpers (#7806)

* generate a flat helpers package
* move helpers built files to dist
* upgrade docs for flat helpers

4 years agoFix: maximum size and mouse position with styling (#7816)
Jukka Kurkela [Sat, 26 Sep 2020 17:18:35 +0000 (20:18 +0300)] 
Fix: maximum size and mouse position with styling (#7816)

Fix: maximum size and mouse position with styling

4 years agoMinor type fixes (#7812)
emmcbd [Wed, 23 Sep 2020 12:43:33 +0000 (14:43 +0200)] 
Minor type fixes (#7812)

4 years agoFix: Update/draw only visible -regression (#7808)
Jukka Kurkela [Sun, 20 Sep 2020 20:46:55 +0000 (23:46 +0300)] 
Fix: Update/draw only visible -regression (#7808)

4 years ago[perf] Update/draw only visible line/points (#7793)
Jukka Kurkela [Tue, 15 Sep 2020 22:57:31 +0000 (01:57 +0300)] 
[perf] Update/draw only visible line/points (#7793)

* Restore count parameter to updateElements
* [perf] Update/draw only visible line/points
* CC

4 years agoLimit pixel values to 32bit integer range (#7800)
Jukka Kurkela [Tue, 15 Sep 2020 19:33:59 +0000 (22:33 +0300)] 
Limit pixel values to 32bit integer range (#7800)

4 years agoFix some CC issues (#7796)
Jukka Kurkela [Mon, 14 Sep 2020 18:40:19 +0000 (21:40 +0300)] 
Fix some CC issues (#7796)

* Fix some CC issues
* Merge _lookup, _lookupByKey, _rlookupByKey
* Remove TODO from types
* Merge TRBL logics
* Merge getMaximumWidth and getMaximumHeight

4 years agoCache event offset coordinates (#7795)
Jukka Kurkela [Mon, 14 Sep 2020 15:37:29 +0000 (18:37 +0300)] 
Cache event offset coordinates (#7795)

4 years agoMerge x/y interaction mode functions (#7794)
Jukka Kurkela [Mon, 14 Sep 2020 15:36:35 +0000 (18:36 +0300)] 
Merge x/y interaction mode functions (#7794)

4 years agoBetter error message when importing charts incorrectly. (#7790)
LAU [Mon, 14 Sep 2020 13:57:50 +0000 (10:57 -0300)] 
Better error message when importing charts incorrectly. (#7790)

* Created a better error message when chartjs can't find an element in the DOM.
Also, prevented an exception when trying to find the canvas assuming is an array. When it could also be null.

* Exception is not thrown anymore in getCanvas. Now this pr only prevents the
item.lenght exception and logs a better error when a chart cant be created.

* Deleted error description because i forgot chartjs is used in varois other ways than importing, also used isArray from helpers.core

* isArray check deleted because the type of the dom element received in getCanvas could be not only an array.

Co-authored-by: Lautaro Alonso Urtiaga <lautaro.urtiaga@10pines.com>
4 years agoStrong typings for scales and datasets in options (#7791)
emmcbd [Mon, 14 Sep 2020 13:57:00 +0000 (15:57 +0200)] 
Strong typings for scales and datasets in options (#7791)

4 years agoFix: relative position in FF (#7792)
Jukka Kurkela [Sun, 13 Sep 2020 21:20:14 +0000 (00:20 +0300)] 
Fix: relative position in FF (#7792)

* Fix: relative position in FF
* Add tests

4 years agoMerge Chart instance with Chart factory (#7783)
xr0master [Sat, 12 Sep 2020 12:46:17 +0000 (15:46 +0300)] 
Merge Chart instance with Chart factory (#7783)

Co-authored-by: Sergey Khomushin <sergey@placer.io>
4 years agoStrong chart object and properties typing (#7782)
emmcbd [Sat, 12 Sep 2020 00:18:21 +0000 (02:18 +0200)] 
Strong chart object and properties typing (#7782)

* Strong chart object and chart creation typing
* Handle mixed charts
* Add documentation

4 years agoFix hover-out regression (#7785)
Jukka Kurkela [Fri, 11 Sep 2020 14:46:25 +0000 (17:46 +0300)] 
Fix hover-out regression (#7785)

4 years agointerfaces.d: fix a wrong place of Option infer (#7770)
xr0master [Fri, 11 Sep 2020 11:32:11 +0000 (14:32 +0300)] 
interfaces.d: fix a wrong place of Option infer (#7770)

Co-authored-by: Sergey Khomushin <sergey@placer.io>
4 years ago[types] parsing is not part of IChartData (#7778)
Jukka Kurkela [Thu, 10 Sep 2020 21:53:15 +0000 (00:53 +0300)] 
[types] parsing is not part of IChartData (#7778)

4 years agoImprove types (#7767)
xr0master [Wed, 9 Sep 2020 01:27:08 +0000 (04:27 +0300)] 
Improve types (#7767)

* interfaces.d: added plugins for the chart configuration
* index.d: allow to set data
* index.d: improve type for the update method
* interfaces.d: improve type of generic chart type
* interfaces.d: alphabetical sort
* index.d: set fields in alphabetical sort
* interfaces.d: remove custom type (string)
* core/index.d: import "chart type" type
* interfaces.d: added extends for TYPE
* interfaces.d: move chart types to enum
* core/index.d: move the update mode to enum

Co-authored-by: Sergey Khomushin <sergey@placer.io>
4 years agoisoWeekday time options on time scale as number (#7768)
stockiNail [Mon, 7 Sep 2020 20:19:45 +0000 (22:19 +0200)] 
isoWeekday time options on time scale as number  (#7768)

* fixed default of tension property of line element
* Fixes isoWeekday on time scale #7749
* adds checking on isoWeekDay options in _generate function

4 years agoType fixes (#7759)
emmcbd [Sun, 6 Sep 2020 20:43:38 +0000 (22:43 +0200)] 
Type fixes (#7759)

* Some type fixes
* Fix missing property on tooltip option type

4 years agoUpdate pull request template contributing docs link (#7765)
Evert Timberg [Sun, 6 Sep 2020 13:46:41 +0000 (09:46 -0400)] 
Update pull request template contributing docs link (#7765)

4 years agoCache Intl.NumberFormat instances (#7755)
Jukka Kurkela [Fri, 4 Sep 2020 20:49:38 +0000 (23:49 +0300)] 
Cache Intl.NumberFormat instances (#7755)

* Update dependencies
* Cache Intl.NumberFormat instances

4 years agoFix: update chart when attached (#7758)
Jukka Kurkela [Fri, 4 Sep 2020 20:47:36 +0000 (23:47 +0300)] 
Fix: update chart when attached (#7758)

4 years agoFix the parameter order of before/afterEvent (#7757)
Jukka Kurkela [Fri, 4 Sep 2020 20:47:08 +0000 (23:47 +0300)] 
Fix the parameter order of before/afterEvent (#7757)