]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
2 years agoUpdate link to UMD bundle for master (#11004)
Jacco van den Berg [Tue, 20 Dec 2022 15:42:29 +0000 (16:42 +0100)] 
Update link to UMD bundle for master (#11004)

2 years agofix: missing markdown link in docs (#11006)
Matvey Kottsov [Tue, 20 Dec 2022 14:27:33 +0000 (17:27 +0300)] 
fix: missing markdown link in docs (#11006)

2 years agochore: replace cp with js code (#11000)
Dan Onoshko [Mon, 19 Dec 2022 08:39:23 +0000 (12:39 +0400)] 
chore: replace cp with js code (#11000)

2 years agoBump to 4.1.1 (#10997) v4.1.1
Evert Timberg [Sat, 17 Dec 2022 16:06:49 +0000 (11:06 -0500)] 
Bump to 4.1.1 (#10997)

2 years agofix: avoid resize loop when browser zoom is set to 90% (#10971)
Guy B [Sat, 17 Dec 2022 14:41:21 +0000 (09:41 -0500)] 
fix: avoid resize loop when browser zoom is set to 90% (#10971)

* test: new test to reproduce issue #10951

* test:  validate the canvas style too

* fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas.

* Revert "fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas."

This reverts commit ed7a34814dd01f57eabc2379fc7187b9a41c8732.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.

* fix: getMaximumSize was flooring non-integer height values unnecessarily.

* Revert "fix: Avoid the resize loop by fixing the rounding error in the retinaScale function."

This reverts commit 23525abc6aadc9880f841ff58dbd4a4ea0b14e88.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.

2 years agofix: move types to src dir to escape src / dist dirs in paths (#10993)
Dan Onoshko [Fri, 16 Dec 2022 12:56:06 +0000 (16:56 +0400)] 
fix: move types to src dir to escape src / dist dirs in paths (#10993)

2 years agofix: hotfix chart.js/auto for commonjs (#10992)
Dan Onoshko [Fri, 16 Dec 2022 12:53:27 +0000 (16:53 +0400)] 
fix: hotfix chart.js/auto for commonjs (#10992)

* fix: hotfix chart.js/auto for commonjs

* fix: add auto.cjs to side effects

2 years agoRevert "chore: Add Product Hunt button (temporarily) (#10980)" (#10988)
Igor Lukanin [Fri, 16 Dec 2022 12:52:36 +0000 (16:52 +0400)] 
Revert "chore: Add Product Hunt button (temporarily) (#10980)" (#10988)

This reverts commit 2810bbc6fa605e1eedf27486f0443841772446ae.

2 years agofix (#10990)
Igor Lukanin [Fri, 16 Dec 2022 08:55:49 +0000 (12:55 +0400)] 
fix (#10990)

2 years agoadd getLabelItems public method (#10966) v4.1.0
Dan Onoshko [Fri, 16 Dec 2022 06:36:14 +0000 (10:36 +0400)] 
add getLabelItems public method (#10966)

2 years agofix: unbind instance config from chart type (#10963)
Dan Onoshko [Fri, 16 Dec 2022 00:27:12 +0000 (04:27 +0400)] 
fix: unbind instance config from chart type (#10963)

2 years agofeat: restore commonjs bundle (#10984)
Dan Onoshko [Thu, 15 Dec 2022 23:11:11 +0000 (03:11 +0400)] 
feat: restore commonjs bundle (#10984)

2 years agofix: turn on types linting (#10962)
Dan Onoshko [Thu, 15 Dec 2022 23:09:14 +0000 (03:09 +0400)] 
fix: turn on types linting (#10962)

2 years agobunp version to 4.1.0 (#10983)
Jacco van den Berg [Thu, 15 Dec 2022 17:48:31 +0000 (18:48 +0100)] 
bunp version to 4.1.0 (#10983)

2 years agochore: Add Product Hunt button (temporarily) (#10980)
Igor Lukanin [Thu, 15 Dec 2022 12:52:12 +0000 (16:52 +0400)] 
chore: Add Product Hunt button (temporarily) (#10980)

2 years agoUpdate Slack link (#10976)
Igor Lukanin [Wed, 14 Dec 2022 22:33:39 +0000 (02:33 +0400)] 
Update Slack link (#10976)

2 years agochore: add lint cache (#10974)
Simon He [Wed, 14 Dec 2022 21:24:43 +0000 (05:24 +0800)] 
chore: add lint cache (#10974)

* chore: add lint cache

* chore: update

* chore: update

2 years agoAllow dynamic datasets to be colored (#10964)
Jacco van den Berg [Wed, 14 Dec 2022 20:43:41 +0000 (21:43 +0100)] 
Allow dynamic datasets to be colored (#10964)

* Allow dynamic datasets to be colored

* revieuw

2 years agoBroken link is fixed. (#10965)
Erencan Taşbaş [Tue, 13 Dec 2022 10:46:10 +0000 (13:46 +0300)] 
Broken link is fixed. (#10965)

2 years agoUpdate auto import in usage docs (#10955)
Jacco van den Berg [Sat, 10 Dec 2022 13:39:11 +0000 (14:39 +0100)] 
Update auto import in usage docs (#10955)

2 years agoEnsure that args are saved inside of the throttled helper (#10942)
Evert Timberg [Sat, 10 Dec 2022 13:21:41 +0000 (08:21 -0500)] 
Ensure that args are saved inside of the throttled helper (#10942)

* Ensure that args are saved inside of the throttled helper

* Capture args in outer scope

* Simplify capture

2 years agoupdate-react-to-v4 (#10930)
Jacco van den Berg [Fri, 9 Dec 2022 14:11:13 +0000 (15:11 +0100)] 
update-react-to-v4 (#10930)

2 years agofix: move @kurkle/color to dependencies (#10917)
Dan Onoshko [Wed, 30 Nov 2022 14:31:43 +0000 (18:31 +0400)] 
fix: move @kurkle/color to dependencies (#10917)

fixes #10915

2 years agoAllow color plugin to work with custom dataset controllers (#10904)
Jacco van den Berg [Fri, 25 Nov 2022 14:03:49 +0000 (15:03 +0100)] 
Allow color plugin to work with custom dataset controllers (#10904)

2 years agoUse UDM build for reproducible sample (#10919)
Jacco van den Berg [Fri, 25 Nov 2022 13:03:51 +0000 (14:03 +0100)] 
Use UDM build for reproducible sample (#10919)

2 years agodocs: add info about ESM into migration guide. (#10903)
Dan Onoshko [Fri, 25 Nov 2022 10:31:14 +0000 (14:31 +0400)] 
docs: add info about ESM into migration guide. (#10903)

2 years agoAdd stepSize option to time scale options types (#10910)
stockiNail [Thu, 24 Nov 2022 12:47:17 +0000 (13:47 +0100)] 
Add stepSize option to time scale options types (#10910)

2 years agofix: respect minBarLength in stacked bar chart (#10766)
Kit PANG [Wed, 23 Nov 2022 01:21:02 +0000 (09:21 +0800)] 
fix: respect minBarLength in stacked bar chart (#10766)

2 years agoSets the transition mode to the context for scriptable options (#10898)
stockiNail [Mon, 21 Nov 2022 19:00:51 +0000 (20:00 +0100)] 
Sets the transition mode to the context for scriptable options (#10898)

2 years agofeat: colors for mixed charts (#10870)
Dan Onoshko [Fri, 18 Nov 2022 18:15:08 +0000 (22:15 +0400)] 
feat: colors for mixed charts (#10870)

2 years agoPointstyle false (#10886)
Jacco van den Berg [Fri, 18 Nov 2022 18:14:47 +0000 (19:14 +0100)] 
Pointstyle false (#10886)

* fix-#10755

* none to false

* str to bool

* str to bool

* 10/10

* fix test

Co-authored-by: puneetkathar1 <puneetkathar1@gmail.com>
Co-authored-by: Puneet Kathar <73285338+puneetkathar1@users.noreply.github.com>
2 years agoupdate migration guide (#10885)
Jacco van den Berg [Fri, 18 Nov 2022 17:39:58 +0000 (18:39 +0100)] 
update migration guide (#10885)

2 years agoMove border opts to correct location for samples (#10884)
Jacco van den Berg [Thu, 17 Nov 2022 21:51:12 +0000 (22:51 +0100)] 
Move border opts to correct location for samples (#10884)

2 years agorefactor: move to esm in sources (#10879)
Dan Onoshko [Thu, 17 Nov 2022 13:08:44 +0000 (17:08 +0400)] 
refactor: move to esm in sources (#10879)

2 years agofix: put `types` first in `exports` map (#10880)
Ben McCann [Thu, 17 Nov 2022 06:22:47 +0000 (22:22 -0800)] 
fix: put `types` first in `exports` map (#10880)

2 years agoRemove V3 support, update readme (#10872)
Jacco van den Berg [Tue, 15 Nov 2022 18:14:15 +0000 (19:14 +0100)] 
Remove V3 support, update readme (#10872)

2 years agoFix release (#10871) v4.0.1
Jacco van den Berg [Mon, 14 Nov 2022 23:17:20 +0000 (00:17 +0100)] 
Fix release (#10871)

* Update namespace

* fix release, bump version

2 years agov4.0.0 bump (#10868) v4.0.0-release
Evert Timberg [Sun, 13 Nov 2022 20:16:32 +0000 (15:16 -0500)] 
v4.0.0 bump (#10868)

2 years agoRemove type attribute from dataset specific type specification (#10869)
Jacco van den Berg [Sun, 13 Nov 2022 17:36:25 +0000 (18:36 +0100)] 
Remove type attribute from dataset specific type specification (#10869)

2 years agocheck the data set type in DoughnutController (#10867)
t-mangoe [Sat, 12 Nov 2022 20:41:21 +0000 (05:41 +0900)] 
check the data set type in DoughnutController (#10867)

2 years agofix: Always draw full arcs and borders for doughnut slices (#10806)
Richard Gibson [Sat, 12 Nov 2022 19:47:08 +0000 (14:47 -0500)] 
fix: Always draw full arcs and borders for doughnut slices (#10806)

* test: Add a failing test for single-slice doughnut with offset

* fix: Always draw full arcs and borders for doughnut slices

Fixes #10801

* test: Update existing image

2 years agoUpdated docs (why Chart.js + getting started + step-by-step guide) (#10816)
Igor Lukanin [Fri, 11 Nov 2022 21:37:13 +0000 (01:37 +0400)] 
Updated docs (why Chart.js + getting started + step-by-step guide) (#10816)

* Update docs

* Minor fixes

* Replace screenshots with live demos

* Replace the last screenshot with a live demo

* Bring back images

* Bring back images #2

* Remove unnecessary files

* Apply suggestions from code review

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* Very last tiny fixes

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2 years agodocs: notes about html legend, tooltip and title (#10857)
Dan Onoshko [Tue, 8 Nov 2022 00:49:47 +0000 (04:49 +0400)] 
docs: notes about html legend, tooltip and title (#10857)

* docs: notes about html legend, tooltip and title

* Update docs/configuration/legend.md

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* Update docs/configuration/tooltip.md

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* docs: notes about html legend, tooltip and title fix

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2 years agoFix the missing apply for the color on the legend labels (#10855)
stockiNail [Fri, 4 Nov 2022 22:55:27 +0000 (23:55 +0100)] 
Fix the missing apply for the color on the legend labels (#10855)

* Fix the missing apply for the color on the legend labels
* apply review

2 years agoEnable colors plugin for pie charts (#10851)
stockiNail [Fri, 4 Nov 2022 15:17:49 +0000 (16:17 +0100)] 
Enable colors plugin for pie charts (#10851)

* Enable colors plugin for pie charts

* fixes CC

2 years agorefactor: migrate helpers.options to typescript (#10753)
Lucca Miranda [Fri, 4 Nov 2022 15:17:09 +0000 (12:17 -0300)] 
refactor: migrate helpers.options to typescript (#10753)

* refactor: migrate helpers.options to typescript

* chore: nitpicks

2 years agoAlternative remove docs from publish (#10844)
Jacco van den Berg [Tue, 1 Nov 2022 14:54:03 +0000 (15:54 +0100)] 
Alternative remove docs from publish (#10844)

* Update namespace

* alternative approach

* test-ignore

2 years agoFix month (#10826)
Kevin Zhu [Thu, 27 Oct 2022 23:17:05 +0000 (19:17 -0400)] 
Fix month (#10826)

2 years agoGrammar error fixes (#10827)
Puneet Kathar [Wed, 26 Oct 2022 11:59:25 +0000 (17:29 +0530)] 
Grammar error fixes (#10827)

* Grammar error fixes

* Update .size-limit.cjs

2 years agoUpdate example chart config type, remove whitespace (#10831)
Jacco van den Berg [Wed, 26 Oct 2022 09:24:32 +0000 (11:24 +0200)] 
Update example chart config type, remove whitespace (#10831)

* Update example chart config type, remove whitespace

* update size limit

2 years agoBump alpha 3 (#10822) v4.0.0-alpha.3
Jacco van den Berg [Mon, 24 Oct 2022 05:44:29 +0000 (07:44 +0200)] 
Bump alpha 3 (#10822)

2 years agoMade some grammar fixes (#10820)
Andrew Dawes [Sat, 22 Oct 2022 16:44:32 +0000 (18:44 +0200)] 
Made some grammar fixes (#10820)

2 years agoIntroduce Colors plugin (#10764)
Igor Lukanin [Fri, 21 Oct 2022 12:21:08 +0000 (16:21 +0400)] 
Introduce Colors plugin (#10764)

Introduces a colors plugin that provides a color palette

Co-authored-by: Dan Onoshko <danon0404@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2 years agoFix broken links (#10812)
Jacco van den Berg [Wed, 19 Oct 2022 16:59:35 +0000 (18:59 +0200)] 
Fix broken links (#10812)

2 years agoUpdate tooltip.md (#10813)
Philippe Jaubert [Wed, 19 Oct 2022 13:13:34 +0000 (15:13 +0200)] 
Update tooltip.md (#10813)

Fixed spawn closes before its content.

2 years agodocs: Fix typo (#10811)
Ian Webster [Wed, 19 Oct 2022 12:13:28 +0000 (05:13 -0700)] 
docs: Fix typo (#10811)

Remove an extra word on https://www.chartjs.org/docs/latest/developers/publishing.html

2 years agodocs: Fix typos (#10809)
Rich [Wed, 19 Oct 2022 12:02:20 +0000 (07:02 -0500)] 
docs: Fix typos (#10809)

* Spell "corresponding" correctly

* Spell "circle" correctly

* Spell "configuration" correctly

2 years agorename jasmine failFast -> stopOnSpecFailure (#10804)
Jukka Kurkela [Mon, 17 Oct 2022 19:59:54 +0000 (22:59 +0300)] 
rename jasmine failFast -> stopOnSpecFailure (#10804)

2 years agofix: label text not centered when applied rotation (#10773)
Jonatan [Mon, 17 Oct 2022 18:28:31 +0000 (20:28 +0200)] 
fix: label text not centered when applied rotation (#10773)

* fix: label text not centered on tick when rotated

#10485

* fix: label text not centered on tick when rotated

#10485

2 years agoBump pnpm/action-setup from 2.2.2 to 2.2.4 (#10800)
dependabot[bot] [Mon, 17 Oct 2022 18:25:41 +0000 (21:25 +0300)] 
Bump pnpm/action-setup from 2.2.2 to 2.2.4 (#10800)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump alpha 2 (#10790) v4.0.0-alpha.2
Jacco van den Berg [Wed, 12 Oct 2022 16:59:56 +0000 (18:59 +0200)] 
Bump alpha 2 (#10790)

2 years agoRemove setting of version in package-lock since it does not exist and pnpm-lock does...
Jacco van den Berg [Wed, 12 Oct 2022 13:25:04 +0000 (15:25 +0200)] 
Remove setting of version in package-lock since it does not exist and pnpm-lock does not have it (#10789)

2 years agoBump alpha v4 (#10787) v4.0.0
Jacco van den Berg [Wed, 12 Oct 2022 11:16:03 +0000 (13:16 +0200)] 
Bump alpha v4 (#10787)

* Update namespace

* bump alpha

2 years agoConvert the Arc element to TS (#10772)
Evert Timberg [Wed, 12 Oct 2022 11:08:37 +0000 (07:08 -0400)] 
Convert the Arc element to TS (#10772)

* Convert the Arc element to TS

* Make max-statements and complexity warnings in TS files as well

* Increase size limit

* Update src/elements/element.arc.ts

Co-authored-by: Dan Onoshko <danon0404@gmail.com>
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
2 years agoFix #10749 - backdrops with rotated labels (#10759)
cmcnulty [Wed, 12 Oct 2022 11:08:22 +0000 (06:08 -0500)] 
Fix #10749 - backdrops with rotated labels (#10759)

* Fix #10749 - backdrops with rotated labels

* remove translation adjustment
Because backdrop now occurs after translation, we don't want to double-adjust the position.

* increase tolerance slightly due to anti-aliasing

Co-authored-by: Charles McNulty <charles.mcnulty@tasconline.com>
2 years agorefactor: migrate helpers.dom to typescript (#10734)
Lucca Miranda [Sun, 9 Oct 2022 13:21:12 +0000 (10:21 -0300)] 
refactor: migrate helpers.dom to typescript (#10734)

3 years agodocs: fix typos (#10763)
Amin Cheloh [Fri, 7 Oct 2022 13:56:07 +0000 (20:56 +0700)] 
docs: fix typos (#10763)

3 years agoConvert the curve helpers to TS (#10733)
Evert Timberg [Fri, 7 Oct 2022 12:28:24 +0000 (08:28 -0400)] 
Convert the curve helpers to TS (#10733)

* Convert the curve helpers to TS
* Remove old type

3 years agoConvert the PointElement to TS (#10730)
Evert Timberg [Fri, 7 Oct 2022 12:28:03 +0000 (08:28 -0400)] 
Convert the PointElement to TS (#10730)

Co-authored-by: Chart.js <>
3 years agoTypes: Change grid option of CartesianScaleOptions and RadialLinearScaleOptions to...
Brainshaker95 [Fri, 7 Oct 2022 04:36:57 +0000 (06:36 +0200)] 
Types: Change grid option of CartesianScaleOptions and RadialLinearScaleOptions to Partial of GridLineOptions (#10760)

3 years agoAllow to configure X and Y axis ID in TS for bubble charts (#10739)
Jacco van den Berg [Thu, 6 Oct 2022 19:41:51 +0000 (21:41 +0200)] 
Allow to configure X and Y axis ID in TS for bubble charts (#10739)

* Update namespace

* Allow for x and y axisId to be passed to bubbledataset controller

3 years agoConvert helpers.extra to TS (#10728)
Evert Timberg [Thu, 6 Oct 2022 19:37:42 +0000 (15:37 -0400)] 
Convert helpers.extra to TS (#10728)

Co-authored-by: Chart.js <>
3 years agoUpdated dead sample link (#10748)
wenzdey [Thu, 6 Oct 2022 14:36:26 +0000 (09:36 -0500)] 
Updated dead sample link (#10748)

* Updated dead sample link

* Updated option sample

3 years agoUse the correct area to clip for dataset drawing when stacked scales are used (...
stockiNail [Sat, 1 Oct 2022 18:26:45 +0000 (20:26 +0200)] 
Use the correct area to clip  for dataset drawing when stacked scales are used (#10691)

* Use the correct area to clip when stacked scales are used

* adds test cases

* fix CI issue

* apply review

* Update .size-limit.cjs

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
3 years agoExport declare const enums (#10729)
Evert Timberg [Fri, 30 Sep 2022 20:13:35 +0000 (16:13 -0400)] 
Export declare const enums (#10729)

Co-authored-by: Chart.js <>
3 years agoTypes: Export UpdateModeEnum as const (#10726)
Luciano Santana [Fri, 30 Sep 2022 15:15:59 +0000 (17:15 +0200)] 
Types: Export UpdateModeEnum as const (#10726)

Co-authored-by: Luciano Santana <contacto@lucianosantana.net>
3 years agorefactor: move batch of helpers to ts (#10722)
Dan Onoshko [Fri, 30 Sep 2022 13:48:12 +0000 (20:48 +0700)] 
refactor: move batch of helpers to ts (#10722)

* refactor: move batch of helpers to ts

* refactor: review fixes

3 years agofix: aspect ratio calc (#10693)
Dan Onoshko [Wed, 28 Sep 2022 19:31:19 +0000 (02:31 +0700)] 
fix: aspect ratio calc (#10693)

3 years agoUpdate namespace (#10719)
Jacco van den Berg [Wed, 28 Sep 2022 04:54:58 +0000 (06:54 +0200)] 
Update namespace (#10719)

3 years agoAdd defaults to plugin interface (#10712)
Jacco van den Berg [Tue, 27 Sep 2022 11:39:48 +0000 (13:39 +0200)] 
Add defaults to plugin interface (#10712)

3 years agoadd ts explanation and unify display of snipets (#10708)
Jacco van den Berg [Tue, 27 Sep 2022 11:39:35 +0000 (13:39 +0200)] 
add ts explanation and unify display of snipets (#10708)

3 years agoUse guard clause typings (#10683)
Jacco van den Berg [Tue, 27 Sep 2022 11:00:48 +0000 (13:00 +0200)] 
Use guard clause typings (#10683)

* Use guard clasue

* use function type instead of build in function

3 years agoAdd warning if filler plugin is used but not registered (#10702)
Jacco van den Berg [Mon, 26 Sep 2022 18:20:54 +0000 (20:20 +0200)] 
Add warning if filler plugin is used but not registered (#10702)

* add warning if filler plugin is used but not registered

* fix lint

* increase size limit

* add test, only put warning in dataset controller

* fix register in docs, remove commented code

* remove other mr

* add documentation

* Apply suggestions from code review

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Also return false if plugin is disabled by options

* improve warning message

* undo docs changes

* update test

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
3 years agoExclude dist folder form linting (#10701)
Jacco van den Berg [Sat, 24 Sep 2022 21:21:17 +0000 (23:21 +0200)] 
Exclude dist folder form linting (#10701)

3 years agofix: calc visible points on update (#10667)
Dan Onoshko [Sat, 24 Sep 2022 21:01:47 +0000 (04:01 +0700)] 
fix: calc visible points on update (#10667)

3 years agoFIX: render multiline legend items without overlapping (#10532) (#10641)
Kartik [Fri, 16 Sep 2022 13:46:53 +0000 (19:16 +0530)] 
FIX: render multiline legend items without overlapping (#10532) (#10641)

* FIX: render multiline legend items without overlapping (#10532)

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Extract method to fix codeclimate line count

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Shift helper methods from class to module scope

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* TST: Add test with fixtures

Co-authored-by: kartik <codebull707@gmail.com>
* FIX: Fix test case for multiline label

Co-authored-by: kartik <codebull707@gmail.com>
* 10532-ENH: Calculate legend item width for multiline labels

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-TST: use spriteText and non-empty labels for test

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: failing test case due to legendItem.text being undefined

Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: Update compression size

Co-authored-by: kartik <codebull707@gmail.com>
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
3 years agoProvide an empty object when the target of the resolver is undefined (#10655)
stockiNail [Thu, 15 Sep 2022 16:12:35 +0000 (18:12 +0200)] 
Provide an empty object when the target of the resolver is undefined (#10655)

* Provide an empty object when the target of the proxy is undefined

* changes check on subGetTarget function

* adds test case

* fixes lint

3 years agofeat: typescript node next support (#10661)
Dan Onoshko [Wed, 14 Sep 2022 10:44:57 +0000 (17:44 +0700)] 
feat: typescript node next support (#10661)

3 years agoFix autoskip logic (#10663)
Jacco van den Berg [Tue, 13 Sep 2022 17:33:22 +0000 (19:33 +0200)] 
Fix autoskip logic (#10663)

* fix autoskip logic

* add test

* fix lint erro

* Update variable name

3 years agoUpdate line-boundaries.md (#10666)
Rupert B [Tue, 13 Sep 2022 17:32:48 +0000 (19:32 +0200)] 
Update line-boundaries.md (#10666)

Fixed broken link in docs

3 years agoUse ticks.steSize instead of time.stepSize on time and timeseries scales (#10653)
stockiNail [Sat, 10 Sep 2022 15:46:26 +0000 (17:46 +0200)] 
Use ticks.steSize instead of time.stepSize on time and timeseries scales (#10653)

3 years agofix: types and tests (#10660)
Dan Onoshko [Sat, 10 Sep 2022 15:36:50 +0000 (19:36 +0400)] 
fix: types and tests (#10660)

3 years agoUpdate bar data type to comply with floating bar charts data (#10652)
Lonylis [Tue, 6 Sep 2022 13:42:04 +0000 (09:42 -0400)] 
Update bar data type to comply with floating bar charts data (#10652)

* Update index.d.ts

Floating bars charts can take an array of array.
https://www.chartjs.org/docs/latest/samples/bar/floating.html

* Update types/index.d.ts

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* floating bar chart data validation

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
3 years agofix: respect aspect ratio with container height (#10646)
Dan Onoshko [Fri, 2 Sep 2022 12:03:41 +0000 (16:03 +0400)] 
fix: respect aspect ratio with container height (#10646)

* fix: respect aspect ratio with container height

* docs: add info into migration guide

3 years agofeat: remove default axis override when custom id is given (#10643)
Dan Onoshko [Fri, 2 Sep 2022 04:52:48 +0000 (08:52 +0400)] 
feat: remove default axis override when custom id is given (#10643)

* feat: remove default axis override when custom id is given

* docs: add info into migration guide

* test: fix tests for the feat

* docs: add info into migration guide

* test: fix tests for the feat

* feat: review fixes

* feat: review fixes

3 years agoenable pointStyleWidth for all legend style (#10639)
Dominic Jean [Thu, 1 Sep 2022 10:37:12 +0000 (06:37 -0400)] 
enable pointStyleWidth for all legend style (#10639)

3 years agoUpdate release.yml (#10642)
Alex [Wed, 31 Aug 2022 13:54:21 +0000 (14:54 +0100)] 
Update release.yml (#10642)

3 years agoConvert the easing helpers to typescript (#10627)
Evert Timberg [Wed, 31 Aug 2022 13:53:54 +0000 (09:53 -0400)] 
Convert the easing helpers to typescript (#10627)

Co-authored-by: Chart.js <>
3 years agoBump `markdown-it` in docs (#10632)
Jacco van den Berg [Wed, 31 Aug 2022 13:46:23 +0000 (15:46 +0200)] 
Bump `markdown-it` in docs (#10632)

* bump dep

* regenerate lock with new pnpm

3 years agoUpdate link to master umd build (#10645)
Jacco van den Berg [Wed, 31 Aug 2022 06:24:21 +0000 (08:24 +0200)] 
Update link to master umd build (#10645)