]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
3 years agoUpdate link to filler plugin (#10250)
Jacco van den Berg [Sun, 20 Mar 2022 23:59:12 +0000 (00:59 +0100)] 
Update link to filler plugin (#10250)

3 years agoresolve circulair import (#10247)
Jacco van den Berg [Fri, 18 Mar 2022 21:39:55 +0000 (22:39 +0100)] 
resolve circulair import (#10247)

3 years agoReplace deprecated String.prototype.substr() (#10243)
CommanderRoot [Fri, 18 Mar 2022 21:38:28 +0000 (22:38 +0100)] 
Replace deprecated String.prototype.substr() (#10243)

String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with similar functions which aren't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years agoBump karma from 6.3.14 to 6.3.16 (#10204)
dependabot[bot] [Wed, 2 Mar 2022 14:42:03 +0000 (16:42 +0200)] 
Bump karma from 6.3.14 to 6.3.16 (#10204)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump url-parse from 1.5.7 to 1.5.10 (#10200)
dependabot[bot] [Sat, 26 Feb 2022 13:58:12 +0000 (15:58 +0200)] 
Bump url-parse from 1.5.7 to 1.5.10 (#10200)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump prismjs from 1.25.0 to 1.27.0 (#10198)
dependabot[bot] [Sat, 26 Feb 2022 12:42:04 +0000 (07:42 -0500)] 
Bump prismjs from 1.25.0 to 1.27.0 (#10198)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoUpdate animations.md (#10184)
Adam Parkin [Tue, 22 Feb 2022 13:37:33 +0000 (05:37 -0800)] 
Update animations.md (#10184)

Fix broken link to animations sample.

3 years agoAllow individual chart controllers to opt-in to the decimation plugin (#10182)
Evert Timberg [Mon, 21 Feb 2022 13:33:33 +0000 (08:33 -0500)] 
Allow individual chart controllers to opt-in to the decimation plugin (#10182)

* Allow individual chart controllers to opt-in to the decimation plugin

* Code review feedback

3 years agoAllow array for line opts in dataset (#10179)
Jacco van den Berg [Mon, 21 Feb 2022 02:31:42 +0000 (03:31 +0100)] 
Allow array for line opts in dataset (#10179)

* fix line as array ts error

* added test

* implement only for the border,background color and radius

3 years agoBump url-parse from 1.5.3 to 1.5.7 (#10181)
dependabot[bot] [Sat, 19 Feb 2022 17:19:00 +0000 (19:19 +0200)] 
Bump url-parse from 1.5.3 to 1.5.7 (#10181)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoremove hardcoded licenseYear in docs (#10158)
Jacco van den Berg [Mon, 14 Feb 2022 02:26:22 +0000 (03:26 +0100)] 
remove hardcoded licenseYear in docs (#10158)

3 years agominimum bar length setting keeps bar base in view (#10157)
Evert Timberg [Sun, 13 Feb 2022 20:27:46 +0000 (15:27 -0500)] 
minimum bar length setting keeps bar base in view (#10157)

3 years agoupdate link to license and bump license year (#10156)
Jacco van den Berg [Sun, 13 Feb 2022 16:27:29 +0000 (17:27 +0100)] 
update link to license and bump license year (#10156)

* update link to license and bump license year
* another license year bump

3 years agoDocument scale update plugin hooks (#10154)
Evert Timberg [Sun, 13 Feb 2022 15:22:12 +0000 (10:22 -0500)] 
Document scale update plugin hooks (#10154)

3 years agoBump karma from 6.3.9 to 6.3.14 (#10146)
dependabot[bot] [Sat, 12 Feb 2022 15:33:06 +0000 (10:33 -0500)] 
Bump karma from 6.3.9 to 6.3.14 (#10146)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.9 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.9...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoMake object notation usable for polarArea and radar (#10088)
Jacco van den Berg [Sat, 12 Feb 2022 15:23:31 +0000 (16:23 +0100)] 
Make object notation usable for polarArea and radar (#10088)

* start to make object notation usable for polarArea
* enable object notation also for radar chart, test default key

3 years agoRefactor filler plugin for easier maintenance (#10040)
Jukka Kurkela [Sat, 12 Feb 2022 15:22:38 +0000 (17:22 +0200)] 
Refactor filler plugin for easier maintenance (#10040)

3 years agoAdd new align 'inner' for X axis (#10106)
Talla2XLC [Sat, 12 Feb 2022 15:07:00 +0000 (18:07 +0300)] 
Add new align 'inner' for X axis (#10106)

* Add new align for X axis

new align 'left-right' for options.scales['x'].ticks namespace will allow users to aling ticks: 'start" for first (left) tick and 'end' for last (right) tick

* corrected name of aligment to "inner", documentation and add test for inner labels

* delete unnecessary changes

* corrected logic for reverse axis, add tests for reverse axis and withoutY axis

* corrected chart paddings for "inner" tick align

* code clearness

* Update types/index.esm.d.ts

Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Co-authored-by: Talla2XLC <alexey.ivanov@epc.com.ru>
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
3 years agoBump log4js from 6.3.0 to 6.4.1 (#10150)
dependabot[bot] [Sat, 12 Feb 2022 14:55:50 +0000 (09:55 -0500)] 
Bump log4js from 6.3.0 to 6.4.1 (#10150)

Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/log4js-node/log4js-node/releases)
- [Changelog](https://github.com/log4js-node/log4js-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/log4js-node/log4js-node/compare/v6.3.0...v6.4.1)

---
updated-dependencies:
- dependency-name: log4js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump engine.io from 6.1.0 to 6.1.2 (#10152)
dependabot[bot] [Sat, 12 Feb 2022 14:55:43 +0000 (09:55 -0500)] 
Bump engine.io from 6.1.0 to 6.1.2 (#10152)

Bumps [engine.io](https://github.com/socketio/engine.io) from 6.1.0 to 6.1.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.0...6.1.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump node-fetch from 2.6.6 to 2.6.7 (#10151)
dependabot[bot] [Sat, 12 Feb 2022 14:55:35 +0000 (09:55 -0500)] 
Bump node-fetch from 2.6.6 to 2.6.7 (#10151)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump follow-redirects from 1.14.6 to 1.14.8 (#10149)
dependabot[bot] [Sat, 12 Feb 2022 14:55:25 +0000 (09:55 -0500)] 
Bump follow-redirects from 1.14.6 to 1.14.8 (#10149)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoBump to 3.7.1 (#10148) v3.7.1
Evert Timberg [Sat, 12 Feb 2022 14:48:34 +0000 (09:48 -0500)] 
Bump to 3.7.1 (#10148)

3 years agoAdd missing mouse events to CoreChartOptions.events type (#10124)
Jérémy Morel [Wed, 9 Feb 2022 12:45:30 +0000 (13:45 +0100)] 
Add missing mouse events to CoreChartOptions.events type (#10124)

* add missing mouse events to CoreChartOptions.events type

* allow all html event names in CoreChartOptions.events

3 years agoSort docs sub menus alphabetically, add line and plugin sample (#10138)
Jacco van den Berg [Sun, 6 Feb 2022 20:11:53 +0000 (21:11 +0100)] 
Sort docs sub menus alphabetically, add line and plugin sample (#10138)

* add sample plugin for doughnut empty state

* Add commented out sample, order sub cats alphabetically

3 years agoAllow spanGaps to be specified on LineOptions (#10133)
Evert Timberg [Sun, 6 Feb 2022 20:11:02 +0000 (15:11 -0500)] 
Allow spanGaps to be specified on LineOptions (#10133)

3 years agoEnsure that min/max of TimeScaleOptions can be a string (#10137)
Evert Timberg [Sun, 6 Feb 2022 18:53:03 +0000 (13:53 -0500)] 
Ensure that min/max of TimeScaleOptions can be a string (#10137)

3 years agofix: allow colors as array (#10075)
Andy [Sat, 5 Feb 2022 17:51:01 +0000 (11:51 -0600)] 
fix: allow colors as array (#10075)

* fix: allow colors as array

* Revert "fix: allow colors as array"

This reverts commit 632e2ee917ad58061b4ec39dda5f43f593b0b3c1.

* fix: allow colors as array

* Update types/index.esm.d.ts

Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
3 years agoCorrect type for updateHoverStyle (#10131)
Evert Timberg [Sat, 5 Feb 2022 14:26:31 +0000 (09:26 -0500)] 
Correct type for updateHoverStyle (#10131)

* Correct type for updateHoverStyle
* Lint fixes

3 years agoType Chart.legend property (#10130)
Evert Timberg [Sat, 5 Feb 2022 14:13:05 +0000 (09:13 -0500)] 
Type Chart.legend property (#10130)

3 years agoSort line and bubble dataset options alphabetically (#10100)
stockiNail [Tue, 1 Feb 2022 12:50:19 +0000 (13:50 +0100)] 
Sort line and bubble dataset options alphabetically (#10100)

* Sort line and bubble dataset options alphabetically
* moves drawActiveElementsOnTop to general section

3 years agoadd SubTitle to ts test register (#10117)
Jacco van den Berg [Mon, 31 Jan 2022 17:15:33 +0000 (18:15 +0100)] 
add SubTitle to ts test register (#10117)

3 years agoChange repeating alingment string to single type (#10111)
Jacco van den Berg [Sat, 29 Jan 2022 16:46:37 +0000 (17:46 +0100)] 
Change repeating alingment string to single type (#10111)

* Change repeating alignment to single type for ease of maintenance
* improved naming

3 years agoFix typos found by codespell (#10103)
Dimitri Papadopoulos Orfanos [Thu, 27 Jan 2022 14:24:55 +0000 (15:24 +0100)] 
Fix typos found by codespell (#10103)

3 years agomove scriptable or array to helper function (#10078)
Jacco van den Berg [Sun, 16 Jan 2022 22:06:56 +0000 (23:06 +0100)] 
move scriptable or array to helper function (#10078)

3 years agoadd typing and docs for maxTicksLimit all scales (#10057)
Jacco van den Berg [Tue, 11 Jan 2022 20:57:35 +0000 (21:57 +0100)] 
add typing and docs for maxTicksLimit all scales (#10057)

* add typing and docs for maxTicksLimit time scale

* change maxTicksLimit to base  instead of each scale seperatly since its done in the core.scale

3 years agotypo Cofiguration (#10045)
Cyril Auburtin [Tue, 4 Jan 2022 16:43:59 +0000 (17:43 +0100)] 
typo Cofiguration (#10045)

3 years agoImprove issue templates (#10038)
Jacco van den Berg [Mon, 3 Jan 2022 09:47:49 +0000 (10:47 +0100)] 
Improve issue templates (#10038)

* Make issue templates fancier

* should be valid yml now

* remove title field

* remove reproducable sample for docs

* add example back to docs, change link for plugin and add TS link for TS issues

* wrong labels, forgot type: in front of it

* implement feedback

* gramar, missing word

3 years agoFix using above/below filling option with discontinuous lines (#10024)
Charles Masson [Sat, 1 Jan 2022 21:42:45 +0000 (22:42 +0100)] 
Fix using above/below filling option with discontinuous lines (#10024)

Added a test in the boundary folder

3 years agoBump version to 3.7.0, update deps (#10011) v3.7.0
Jukka Kurkela [Thu, 23 Dec 2021 18:55:39 +0000 (20:55 +0200)] 
Bump version to 3.7.0, update deps (#10011)

* Bump version to 3.7.0, update deps

* Fix issues from updated packages

3 years agoradialLinear: fix positioning & scaling (#10021)
Jukka Kurkela [Thu, 23 Dec 2021 18:47:36 +0000 (20:47 +0200)] 
radialLinear: fix positioning & scaling (#10021)

* radialLinear: fix positioning & scaling

* bloody pixels

* better radar fixtures

3 years agoradialLinear: fix getIndexAngle when there are no labels (left) (#10020)
Jacco van den Berg [Thu, 23 Dec 2021 07:48:21 +0000 (08:48 +0100)] 
radialLinear: fix getIndexAngle when there are no labels (left) (#10020)

* Resolve animation if indexAngle is NaN

* make it private

* add test

* use chart.js helper instead of own logic

* implement feedback

* remove extra line

* my precious bits

3 years agoradialLinear: Hide pointLabels of hidden data (#10018)
Jukka Kurkela [Wed, 22 Dec 2021 21:09:54 +0000 (23:09 +0200)] 
radialLinear: Hide pointLabels of hidden data (#10018)

* radialLinear: Hide pointLabels of hidden data

* filter after map

3 years agoDocs/Add sample for centered point labels (#10013)
Jacco van den Berg [Wed, 22 Dec 2021 13:59:58 +0000 (14:59 +0100)] 
Docs/Add sample for centered point labels (#10013)

* Add sample for centered point labels

* update chart title

* link to sample for more clarity from property

3 years agoAdd centerPointLabels option for linear radial scale (#9949)
t-mangoe [Tue, 21 Dec 2021 18:27:07 +0000 (03:27 +0900)] 
Add centerPointLabels option for linear radial scale (#9949)

* center point labels to slices in polar chart

* remove unnecessary comments

* put the code together in one line

* fix the code according to the code review

* Undo changes related to the createContext function

* add documentation and types.

3 years agoFix setActiveElements behavior after a mouse event (#9992)
Jukka Kurkela [Thu, 16 Dec 2021 22:34:53 +0000 (00:34 +0200)] 
Fix setActiveElements behavior after a mouse event (#9992)

* Fix setActiveElements behavior after a mouse event

* Better variable name

3 years agoDocs/clarify usage of ticks callback (#9991) (#9994)
Doug Brunner [Thu, 16 Dec 2021 12:34:30 +0000 (04:34 -0800)] 
Docs/clarify usage of ticks callback (#9991) (#9994)

* Docs/clarify usage of ticks callback (#9991)

* Docs/Fixed inconsistent variable names (#9991)

Co-authored-by: Doug Brunner <doug@epicycloidengr.com>
3 years agoTypes/ type suggestedMin and suggestedMax for time scale (#9986)
Jacco van den Berg [Tue, 14 Dec 2021 18:41:47 +0000 (19:41 +0100)] 
Types/ type suggestedMin and suggestedMax for time scale (#9986)

* type suggestedMin and suggestedMax for time scale

* implement feedback

3 years agoTypes/Allow min-max as string timescale (#9985)
Jacco van den Berg [Tue, 14 Dec 2021 16:50:37 +0000 (17:50 +0100)] 
Types/Allow min-max as string timescale (#9985)

* allow for string in time scale min max config

* add min-max type to docs

* typo

3 years agoAdd random seed reporting to test runs (#9977)
Jukka Kurkela [Thu, 9 Dec 2021 19:15:50 +0000 (21:15 +0200)] 
Add random seed reporting to test runs (#9977)

3 years agoLimit active element changes to chartArea (#9970)
Jukka Kurkela [Wed, 8 Dec 2021 14:44:45 +0000 (16:44 +0200)] 
Limit active element changes to chartArea (#9970)

* Limit active element changes to chartArea

* CC, remove duplicate ChartEvent interface

* CC2

3 years agoPass object from array as value to _fallback (#9969)
Jukka Kurkela [Wed, 8 Dec 2021 14:27:55 +0000 (16:27 +0200)] 
Pass object from array as value to _fallback (#9969)

* Pass object from array as value to _fallback

* cleanup

* reduce changes

* reduce even more changes

3 years agoDocs/clarify samples (#9960)
Jacco van den Berg [Mon, 6 Dec 2021 12:39:33 +0000 (13:39 +0100)] 
Docs/clarify samples  (#9960)

* add information to the samples root about using the samples

* Implement review feedback

3 years agoImprovements to tooltip positioners (#9944)
Josh Kelley [Mon, 6 Dec 2021 12:39:06 +0000 (07:39 -0500)] 
Improvements to tooltip positioners (#9944)

* Improve positioner types; allow overriding xAlign and yAlign

* More type improvements; pass in Chart as third parameter

* Expose chart as part of TooltipModel

I initially passed the Chart element as the third parameter to the positioner; however, Scale and LegendElement elements expose `this.chart`, and sample code for positioners used `this._chart`, so documenting the chart member and giving it a public name seems to make more sense.

* Update documentation

* Fix documentation

* Fix issues from code review

3 years agoSpecify UTC time zone for the test suite (#9945)
Josh Kelley [Mon, 6 Dec 2021 12:38:39 +0000 (07:38 -0500)] 
Specify UTC time zone for the test suite (#9945)

The controller.bar/not-grouped/on-time test was failing on my computer because the date ranges happen to cross the end of Daylight Saving Time in the U.S., so chart was generated with one more hour of time than the test fixture expected.

Using moment-timezone to specify a fixed time zone with no DST seemed like the most robust fix. (Alternatively, I could pick a date range that doesn't change DST; that ought to work.)

3 years agoTry to improve documentation for new users (#9952)
Jukka Kurkela [Sun, 5 Dec 2021 17:42:52 +0000 (19:42 +0200)] 
Try to improve documentation for new users (#9952)

* Try to improve documentation for new users
* Review update

3 years agoadd beforeDestroy hook (#9933)
Jacco van den Berg [Sun, 5 Dec 2021 14:05:18 +0000 (15:05 +0100)] 
add beforeDestroy hook (#9933)

* add `beforeDestroy` hook
* add documentation of destroy lifecycle, add `afterDestroy` hook and deprecate destroy

3 years agoallow for multiline labels in tick callback (#9937)
Jacco van den Berg [Sun, 5 Dec 2021 13:57:44 +0000 (14:57 +0100)] 
allow for multiline labels in tick callback (#9937)

3 years agoSupport "r" axis for non-intersecting interaction (#9919)
Luuk de Vlieger [Sun, 5 Dec 2021 13:57:07 +0000 (14:57 +0100)] 
Support "r" axis for non-intersecting interaction (#9919)

* Support "r" axis for non-intersecting interaction

* Extract some interaction functionality

* Remove whitespace and semicolons

* WIP: add interaction test

* Update documentation

* Fix test

* Add another test

* Update axis params

* Add additional axis check to binary search

* Update axis type

3 years agoFeature/active elements on top (#9920)
Jacco van den Berg [Sun, 5 Dec 2021 13:56:53 +0000 (14:56 +0100)] 
Feature/active elements on top (#9920)

* add flag to draw active items on top

* add documentation and types

* remove redundent check

* added test

* resolve linting errors

* increase tollerance

* remove axes for better test, hope no tolerance needed

3 years agoAdd borderJoinStyle option for arc elements (#9877)
Jukka Kurkela [Sun, 5 Dec 2021 13:56:37 +0000 (15:56 +0200)] 
Add borderJoinStyle option for arc elements (#9877)

* Add borderJoinStyle option for arc elements
* docs + types
* Consistently enumerate the possible choices

3 years agoBump version to 3.6.2 (#9953) v3.6.2
Jukka Kurkela [Sun, 5 Dec 2021 13:41:45 +0000 (15:41 +0200)] 
Bump version to 3.6.2 (#9953)

3 years agoStop modifying options in interaction handlers (#9939)
Jukka Kurkela [Wed, 1 Dec 2021 22:55:58 +0000 (00:55 +0200)] 
Stop modifying options in interaction handlers (#9939)

* Stop modifying options in interaction handlers
* Don't use object spread

3 years agoFix resolver caching issue when setting values (#9938)
Jukka Kurkela [Wed, 1 Dec 2021 22:53:55 +0000 (00:53 +0200)] 
Fix resolver caching issue when setting values (#9938)

3 years agoBump to 3.6.1 (#9929) v3.6.1
Evert Timberg [Tue, 30 Nov 2021 18:14:49 +0000 (13:14 -0500)] 
Bump to 3.6.1 (#9929)

3 years agoAdd notes about more specific options for axes (#9923)
Jukka Kurkela [Tue, 30 Nov 2021 12:43:46 +0000 (14:43 +0200)] 
Add notes about more specific options for axes (#9923)

3 years agoFix tooltip caret position when it is positioned at the corners (#9922)
Jukka Kurkela [Mon, 29 Nov 2021 22:02:00 +0000 (00:02 +0200)] 
Fix tooltip caret position when it is positioned at the corners (#9922)

* Fix tooltip caret position when  at the corners

* Add test

Co-authored-by: Dirk Gausmann <di.gaus@gmx.de>
3 years agoCategory: Track automatically added labels (#9921)
Jukka Kurkela [Mon, 29 Nov 2021 21:38:11 +0000 (23:38 +0200)] 
Category: Track automatically added labels (#9921)

* Category: Track automatically added labels

* Use correct yAxisKey (does not change anything)

3 years agoUpdate stale documentation for axis titles (#9683)
carsonalh [Mon, 29 Nov 2021 21:37:34 +0000 (07:37 +1000)] 
Update stale documentation for axis titles (#9683)

* Update stale documentation for axis titles (#9682)

Updated the documentation for the types on axis labels.

In the corresponding `index.esm.d.ts` file, put JSDoc descriptions for
the properties to match the now-updated documentation.

* Clean up axis title labels documentation (#9682)

Inserted extra information in the documentation for the type of the
padding, inserted missing full stops.

In the type file, added JSDoc for undocumented properties.

* Update docs/axes/labelling.md

* Update types/index.esm.d.ts

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
3 years agoAdd a note about the type parameters of the ChartData type (#9917)
Evert Timberg [Sun, 28 Nov 2021 18:01:14 +0000 (13:01 -0500)] 
Add a note about the type parameters of the ChartData type (#9917)

3 years agoDoughnut chart options have an offset property (#9916)
Evert Timberg [Sun, 28 Nov 2021 18:01:00 +0000 (13:01 -0500)] 
Doughnut chart options have an offset property (#9916)

3 years agoChart area boxes receive 0 margin during the final layout process (#9915)
Evert Timberg [Sun, 28 Nov 2021 15:25:27 +0000 (10:25 -0500)] 
Chart area boxes receive 0 margin during the final layout process (#9915)

3 years agoDetect detach/attach in same observation (#9876)
Jukka Kurkela [Sat, 27 Nov 2021 19:46:00 +0000 (21:46 +0200)] 
Detect detach/attach in same observation (#9876)

* Detect detach/attach in same observation

* Missing `!`, better tests

* reduce duplication

3 years agoFix a typo in index.md (#9900)
Dmitriy Fishman [Thu, 25 Nov 2021 13:19:26 +0000 (15:19 +0200)] 
Fix a typo in index.md (#9900)

Fix a typo

3 years agoUpdate contributing.md (#9893)
Dmitriy Fishman [Thu, 25 Nov 2021 13:10:12 +0000 (15:10 +0200)] 
Update contributing.md (#9893)

3 years agodocs: Add a link to front-end integrations (#9866)
Igor Lukanin [Wed, 17 Nov 2021 23:04:22 +0000 (03:04 +0400)] 
docs: Add a link to front-end integrations (#9866)

3 years agoSynchronize data visibility with data changes (#9857)
Jukka Kurkela [Wed, 17 Nov 2021 22:13:31 +0000 (00:13 +0200)] 
Synchronize data visibility with data changes (#9857)

* Synchronize data visibility with data changes

* avoid babel spread bug

* Simpler?

* one more

* simple enough, cc?

3 years agoFix inRange for full circle arc (#9871)
Jukka Kurkela [Wed, 17 Nov 2021 22:10:19 +0000 (00:10 +0200)] 
Fix inRange for full circle arc (#9871)

* Update misleading sample comment

* Fix inRange for full circle arc

3 years agoConfigure all datasets before updating any (#9872)
Jukka Kurkela [Wed, 17 Nov 2021 22:09:25 +0000 (00:09 +0200)] 
Configure all datasets before updating any (#9872)

* Update misleading sample comment

* Configure all datasets before updating any

3 years agoUpdate misleading sample comment (#9865)
Jukka Kurkela [Wed, 17 Nov 2021 12:34:00 +0000 (14:34 +0200)] 
Update misleading sample comment (#9865)

3 years agoPrevent proxying CanvasGradient in Node platform (#9861)
Jukka Kurkela [Tue, 16 Nov 2021 01:09:43 +0000 (03:09 +0200)] 
Prevent proxying CanvasGradient in Node platform (#9861)

3 years agoTypes: add autopadding to typing (#9858)
Jacco van den Berg [Mon, 15 Nov 2021 21:23:51 +0000 (22:23 +0100)] 
Types: add autopadding to typing (#9858)

* add autopadding to types

* fix failing test

3 years agoFix incomplete TS type for Chart.register + others (#9855)
Jukka Kurkela [Mon, 15 Nov 2021 17:56:56 +0000 (19:56 +0200)] 
Fix incomplete TS type for Chart.register + others (#9855)

3 years agoFix type linting and indent errors (#9843)
Jukka Kurkela [Thu, 11 Nov 2021 20:00:52 +0000 (22:00 +0200)] 
Fix type linting and indent errors (#9843)

* Fix type linting and indent errors
* Properly indent comments too

3 years agoupdate animation event to include currentStep instead of currentState (#9837)
NorthBlue333 [Thu, 11 Nov 2021 16:54:17 +0000 (17:54 +0100)] 
update animation event to include currentStep instead of currentState (#9837)

3 years agoupdate animation event to include inital variable (#9834)
Jacco van den Berg [Thu, 11 Nov 2021 05:20:48 +0000 (06:20 +0100)] 
update animation event to include inital variable (#9834)

3 years agoPass number format to tooltip (#9831)
Ben McCann [Wed, 10 Nov 2021 21:02:42 +0000 (13:02 -0800)] 
Pass number format to tooltip (#9831)

3 years agoDocs/update scale position type (#9812)
Jacco van den Berg [Sun, 7 Nov 2021 19:31:31 +0000 (20:31 +0100)] 
Docs/update scale position type (#9812)

* update type of scale position in docs, add explanation sentence to object position

* improve clarification

* grammar/spelling

3 years agoDefine with let to avoid "assignment to constant" errors (#9803)
Eric Theise [Sat, 30 Oct 2021 13:23:14 +0000 (06:23 -0700)] 
Define with let to avoid "assignment to constant" errors (#9803)

* Define with let to avoid "assignment to constant" errors

Thanks for this example. Defining `label` with `const` rather than `let` results in `Uncaught TypeError: Assignment to constant variable.`

* Another case where const needs to be replaced with let.

* Requested cases where const needs to be replaced with let +1 (style).

3 years agoRemove scriptability from defaults.font types (#9794)
Jukka Kurkela [Fri, 29 Oct 2021 11:32:12 +0000 (14:32 +0300)] 
Remove scriptability from defaults.font types (#9794)

* Remove scriptability from defaults.font types

* Remove failing test

3 years agoFix object notation border width barchart (#9800)
Jacco van den Berg [Tue, 26 Oct 2021 12:50:07 +0000 (14:50 +0200)] 
Fix object notation border width barchart (#9800)

* make object available for bar as border Radius

* override only the bar borderWidth prop

* spacing

3 years agoNew sample: Progressive Line With Easing (#9798)
Jukka Kurkela [Tue, 26 Oct 2021 11:49:04 +0000 (14:49 +0300)] 
New sample: Progressive Line With Easing (#9798)

3 years agochange namespace and chart types that override legend defaults (#9791)
Jacco van den Berg [Mon, 25 Oct 2021 16:48:51 +0000 (18:48 +0200)] 
change namespace and chart types that override legend defaults (#9791)

3 years agoAdd warning about chart types overriding plugin defaults (#9787)
Evert Timberg [Sun, 24 Oct 2021 16:14:37 +0000 (12:14 -0400)] 
Add warning about chart types overriding plugin defaults (#9787)

3 years agoBump to 3.6.0 (#9784) v3.6.0
Evert Timberg [Sat, 23 Oct 2021 17:21:28 +0000 (13:21 -0400)] 
Bump to 3.6.0 (#9784)

3 years agoFix cleaning up metasets (#9656)
Josh Kelley [Sat, 23 Oct 2021 15:46:33 +0000 (11:46 -0400)] 
Fix cleaning up metasets (#9656)

* Fix cleaning up metasets

I believe it's a mistake to only delete the metaset if it has a valid controller; see f191f2f5 for where this behavior was introduced.

This is a minimal fix for #9653; as discussed there, it may also be worth updating `updateHoverStyle`.

As of #7030, `this._metasets` should always be defined, so checking whether it's undefined is no longer necessary.

* Add a test covering metaset behavior

* Add a regression test for #9653; fix `toHaveSize` usage

* Fix test failure

3 years agoAdded hyperlink on Chart.js LOGO (#9741)
gautammsuthar [Sat, 16 Oct 2021 19:55:14 +0000 (01:25 +0530)] 
Added hyperlink on Chart.js LOGO (#9741)

Inserted a hyperlink on chart.js logo
So that users can easily be redirected to the HOME PAGE of the web application

3 years agoFix: Typo 'is less' -> 'are lesser' (#9755)
Atharva Deshpande [Sat, 16 Oct 2021 19:41:27 +0000 (01:11 +0530)] 
Fix: Typo 'is less' -> 'are lesser' (#9755)

* Fix: Typo 'is less' -> 'are lesser'

* Update plugin.decimation.js

3 years agoci(workflow): add cache to workflows using actions/setup-node (#9757)
Oscar Dominguez [Sat, 16 Oct 2021 19:18:11 +0000 (21:18 +0200)] 
ci(workflow): add cache to workflows using actions/setup-node (#9757)

* ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows

* style(workflows): restore single quotes and remove unnecessary 'null'

3 years agoAdd chart, p0.raw, p1.raw to segment context (#9761)
Jukka Kurkela [Fri, 15 Oct 2021 19:56:29 +0000 (22:56 +0300)] 
Add chart, p0.raw, p1.raw to segment context (#9761)

* Add chart, p0.raw, p1.raw to segment context

* Types