]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
2 years agoRun compressed-size on pull_request_target size-limit-fork 10707/head
Jukka Kurkela [Mon, 26 Sep 2022 18:25:36 +0000 (21:25 +0300)] 
Run compressed-size on pull_request_target

2 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>
2 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)

2 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)

2 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>
2 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

2 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)

2 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

2 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

2 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)

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

2 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>
2 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

2 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

2 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)

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

2 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 <>
2 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

2 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)

2 years agoFix broken link (#10640)
Devesh Pal [Mon, 29 Aug 2022 21:02:08 +0000 (02:32 +0530)] 
Fix broken link (#10640)

2 years agodocs: fix images loading (#10621)
Dan Onoshko [Tue, 23 Aug 2022 13:30:03 +0000 (17:30 +0400)] 
docs: fix images loading (#10621)

* docs: fix images loading

* docs: temporary restore configureWebpack

* docs: rm html-webpack-plugin

2 years agoDocument components for bundle optimization (#10569)
Jukka Kurkela [Tue, 23 Aug 2022 05:41:20 +0000 (08:41 +0300)] 
Document components for bundle optimization (#10569)

* Update integration.md

* Update integration.md

* Fix typo

* Another typo

* Update docs/getting-started/integration.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update docs/getting-started/integration.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* review update

* version

Co-authored-by: Rich Lott <artfulrobot@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years agomove option to correct namespace (#10613)
Jacco van den Berg [Mon, 22 Aug 2022 20:44:04 +0000 (22:44 +0200)] 
move option to correct namespace (#10613)

* move option to correct namespace

* change plugin name from snake_case to camelCase

2 years agofix filter paramater in package.json (#10614)
Jacco van den Berg [Mon, 22 Aug 2022 20:30:29 +0000 (22:30 +0200)] 
fix filter paramater in package.json (#10614)

2 years agoRemove tooltip constructor fallbacks, `this.chart` and `this._chart` (#10612)
Jacco van den Berg [Mon, 22 Aug 2022 19:17:40 +0000 (21:17 +0200)] 
Remove tooltip constructor fallbacks, `this.chart` and `this._chart` (#10612)

* remove tooltip fallbacks/backwards compatability in constructor

* increase size limit

2 years agofix lint in docs (#10611)
Jacco van den Berg [Mon, 22 Aug 2022 19:00:26 +0000 (21:00 +0200)] 
fix lint in docs (#10611)

2 years agoSwitch to pnpm (#10576)
Ben McCann [Mon, 22 Aug 2022 18:42:43 +0000 (11:42 -0700)] 
Switch to pnpm (#10576)

2 years agoDocumentation: how to add static typing to plugins (#10607)
Jacco van den Berg [Mon, 22 Aug 2022 18:20:35 +0000 (20:20 +0200)] 
Documentation: how to add static typing to plugins (#10607)

* Add documentation on how to add static typing to plugins

* make the options optional

* Fix syntax

2 years agoRefine logarithmic scaling / tick generation (#9166)
Jukka Kurkela [Mon, 22 Aug 2022 18:05:27 +0000 (21:05 +0300)] 
Refine logarithmic scaling / tick generation (#9166)

* Refine logarithmic scaling / tick generation

* Disable autoSkip on reverese test

* Reduce ticks, fix min

2 years agoPreparing the project for TypeScript (#10595)
Dan Onoshko [Mon, 22 Aug 2022 15:58:57 +0000 (19:58 +0400)] 
Preparing the project for TypeScript (#10595)

* Add Typescript to the build
* Converts the `helpers.core` to Typescript as an example
* Converts the `core.element` to Typescript

2 years agofix: allow beforeTooltipDraw to be cancelable (#10598)
Grant Hynd [Mon, 22 Aug 2022 15:33:02 +0000 (16:33 +0100)] 
fix: allow beforeTooltipDraw to be cancelable (#10598)

2 years agoUse the element's window in getComputedstyle (#10608)
Jon Dufresne [Mon, 22 Aug 2022 15:29:36 +0000 (08:29 -0700)] 
Use the element's window in getComputedstyle (#10608)

2 years agoPut the border opts in own object (#10571)
Jacco van den Berg [Thu, 18 Aug 2022 13:07:46 +0000 (15:07 +0200)] 
Put the border opts in own object (#10571)

* put borderOpts in own object

* document z option

* remove todo and change scaleId to id

* update some tests

* clean bit, remove console log

* fix failing test

* lint

* Remove comment

2 years agoChange react integration test to TS (#10605)
Jacco van den Berg [Thu, 18 Aug 2022 12:42:40 +0000 (14:42 +0200)] 
Change react integration test to TS (#10605)

* switch to ts

* change web integration test to TS

* remove space

* lint things

* one more lint

* Add spaces

2 years agofix: same-looking tooltips on charts (#10548)
Dan Onoshko [Thu, 18 Aug 2022 11:34:35 +0000 (15:34 +0400)] 
fix: same-looking tooltips on charts (#10548)

* fix: same-looking tooltips on multiseries charts

* fix: same-looknig tooltips on all chart types

* chore: restore tooltip plugin

* docs: additions to migration guide

* docs: remove labels from scatter and bubble examples

* docs: review fix

2 years agoUse borderRadius for legend and remove fallbacks (#10551)
Jacco van den Berg [Thu, 18 Aug 2022 11:34:18 +0000 (13:34 +0200)] 
Use borderRadius for legend and remove fallbacks (#10551)

* Use borderRadius for legend

* re enable test

* fix lint

* add note in migration guide

* Update types/index.d.ts

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2 years agoAllow animations to be set to false for the tooltip (#10582)
Jacco van den Berg [Thu, 18 Aug 2022 11:33:42 +0000 (13:33 +0200)] 
Allow animations to be set to false for the tooltip (#10582)

2 years agochange way that linear scales calculate min and max (#10591)
Jacco van den Berg [Thu, 18 Aug 2022 11:33:15 +0000 (13:33 +0200)] 
change way that linear scales calculate min and max (#10591)

2 years agotype grouped option for bar chart (#10590)
Jacco van den Berg [Thu, 18 Aug 2022 06:16:13 +0000 (08:16 +0200)] 
type grouped option for bar chart (#10590)

2 years agoadd correct padding object to type (#10585)
Jacco van den Berg [Thu, 18 Aug 2022 06:15:50 +0000 (08:15 +0200)] 
add correct padding object to type (#10585)

* add correct padding object to type

* Apply suggestions from code review

Add spacing

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years agochore: upgrade dependencies (#10573)
Ben McCann [Thu, 18 Aug 2022 06:09:09 +0000 (23:09 -0700)] 
chore: upgrade dependencies (#10573)

2 years agofeat: tooltip callbacks fallback (#10567)
Dan Onoshko [Thu, 18 Aug 2022 06:03:12 +0000 (10:03 +0400)] 
feat: tooltip callbacks fallback (#10567)

* feat: tooltip callbacks fallback

* docs: review fixes

2 years agoUpdate index.d.ts (#10579)
John Williams Metservice [Wed, 17 Aug 2022 22:43:46 +0000 (10:43 +1200)] 
Update index.d.ts (#10579)

Allow nulls to be passed to barChart data to allow datasets to spanGaps.

2 years agoDowngrade karma preprocessor (#10589)
Jacco van den Berg [Fri, 12 Aug 2022 22:15:47 +0000 (00:15 +0200)] 
Downgrade karma preprocessor (#10589)

* force older version of karma pre processor
* package-lock update

2 years agoAdd integration test(s) for Web (#10563)
Jacco van den Berg [Sun, 7 Aug 2022 17:25:11 +0000 (19:25 +0200)] 
Add integration test(s) for Web (#10563)

Adds a basic react integration test

2 years agobuild: emit sourcemaps (#10568)
Dan Onoshko [Sun, 7 Aug 2022 17:23:35 +0000 (21:23 +0400)] 
build: emit sourcemaps (#10568)

2 years agofeat: sideEffects false (#10526)
Dan Onoshko [Sat, 6 Aug 2022 12:45:41 +0000 (16:45 +0400)] 
feat: sideEffects false (#10526)

* feat: sideEffects false
* refactor: apply defaults by pure way

2 years agoremove double space, eslint allow dynamic import (#10572)
Jacco van den Berg [Fri, 5 Aug 2022 20:36:56 +0000 (22:36 +0200)] 
remove double space, eslint allow dynamic import (#10572)

2 years agoRemove destroy hook (#10549)
Jacco van den Berg [Fri, 5 Aug 2022 16:51:14 +0000 (18:51 +0200)] 
Remove destroy hook (#10549)

* remove destroy hook

* revert package-lock.json changes

* update test

* add migration guide note

* fix karma failing test

* change way of importing package.json

2 years agoFix docs build (#10566)
Jukka Kurkela [Fri, 5 Aug 2022 12:02:04 +0000 (15:02 +0300)] 
Fix docs build (#10566)

2 years agoUse ESM config file for Rollup (#10564)
Ben McCann [Fri, 5 Aug 2022 12:00:01 +0000 (05:00 -0700)] 
Use ESM config file for Rollup (#10564)

2 years agofix: pass timestamp to ticks callback (#10540)
Dan Onoshko [Fri, 5 Aug 2022 11:59:36 +0000 (18:59 +0700)] 
fix: pass timestamp to ticks callback (#10540)

* fix: pass timestamp to ticks callback
* docs: edit labelling page
* docs: additions to the migration guide

2 years agofeat: add ESM support (#10525)
Dan Onoshko [Thu, 4 Aug 2022 22:43:26 +0000 (05:43 +0700)] 
feat: add ESM support (#10525)

* feat: add ESM support

* build: rename UMD bundle

* chore: edit supbackages description

* style: disable es/no-import-meta linter rule

* test: dynamic import in cjs module

* docs: edit integrations page

* docs: review fixes

* chore: remove useless regex in webpack config

* ci: test size-limit only for ESM bundle

2 years agofix: treeshaking (#10504)
Dan Onoshko [Thu, 4 Aug 2022 13:17:40 +0000 (20:17 +0700)] 
fix: treeshaking (#10504)

* fix: treeshaking
* refactor: DatasetController.datasetElementType and DatasetController.dataElementType as static props

2 years agoMove parameter of TType in ChartMeta to first option (#10550)
Jacco van den Berg [Wed, 3 Aug 2022 23:06:15 +0000 (01:06 +0200)] 
Move parameter of TType in ChartMeta to first option (#10550)

* move paramter of TType in ChartMeta to first option

* add missing ChartMeta change

* Add note in migration guide

2 years agoFix offset on doughnut charts (#10469)
Ivan Gamboa Ultreras [Wed, 3 Aug 2022 17:27:17 +0000 (12:27 -0500)] 
Fix offset on doughnut charts (#10469)

Fix offset on doughnut charts

2 years agoAdd integration test(s) for Node (#10554)
Jukka Kurkela [Wed, 3 Aug 2022 13:17:05 +0000 (16:17 +0300)] 
Add integration test(s) for Node (#10554)

2 years agoBug/Radial linear scale grid get correct options at index (#10010)
Jacco van den Berg [Wed, 3 Aug 2022 00:32:02 +0000 (02:32 +0200)] 
Bug/Radial linear scale grid get correct options at index (#10010)

* get correct options for index

* update test

* add initial migration guide

2 years agoBump to 3.9.0 (#10541) v3.9.0
Jacco van den Berg [Tue, 2 Aug 2022 12:54:45 +0000 (14:54 +0200)] 
Bump to 3.9.0 (#10541)

* make link work in github itself
* fix dead link on reload or new tab
* bump to 3.9.0

2 years agofeat: remove line element from scatter controller (#10439)
Slava Terekhov [Mon, 1 Aug 2022 19:39:09 +0000 (23:39 +0400)] 
feat: remove line element from scatter controller (#10439)

* feat: remove line element from scatter controller default config

* feat: move common controllers methods to helpers and add types

* feat: mark methods for scatter and line conntrollers as private

* fix: fix error when showline is true at root options and add tests

* feat: remove else inside scatter controller update

* fix: update getStartAndCountOFVisiblePoints helper code

2 years agoAllow ESM files to be used in Node.js (#10479)
Ben McCann [Sat, 30 Jul 2022 15:25:23 +0000 (08:25 -0700)] 
Allow ESM files to be used in Node.js (#10479)

Allow ESM files to be used in Node.js

2 years agofeat: pass some chart options to DateAdapter (#10528)
Dan Onoshko [Sat, 30 Jul 2022 15:25:01 +0000 (22:25 +0700)] 
feat: pass some chart options to DateAdapter (#10528)

feat: pass some chart options to DateAdapter

2 years agodocs: add docs for changing from time scale to logarithmic/linear scale (#10527)
Slava Terekhov [Sat, 30 Jul 2022 15:14:33 +0000 (19:14 +0400)] 
docs: add docs for changing from time scale to logarithmic/linear scale (#10527)

2 years agoAdd circular prop to arc element (#10405)
Slava Terekhov [Sat, 30 Jul 2022 15:08:38 +0000 (19:08 +0400)] 
Add circular prop to arc element (#10405)

* feat: add circular prop to arc element draw actions
* test: add test for arc element with circular:false prop
* feat: add circular prop to Arc element options
* docs: add decriptiption for new Polar area chart prop
* docs: fix circular prop description
* docs: add info about arc element circular prop to elements docs
* docs: move circular prop from general options to styling

2 years agoSkip all borders if borderSkipped === true (#10530)
Jacco van den Berg [Sat, 30 Jul 2022 12:12:53 +0000 (14:12 +0200)] 
Skip all borders if borderSkipped === true (#10530)

* Skip all borders if borderSkipped === true

This will allow you to skip all borders (not just one side) if you set borderSkipped to boolean true and so allow you to have a consistent legend marker even for bars without borders. Reason is that even if same colored borders are set there are artifacts that make the bar look bad and also even with inflateAmount the bars do look good when big but when only a few pixel in size they start to look bad too so this was the only way for me to make it work so legends are looking good and bars too.

* fix failing test, update docs and typings

* update typing comment

Co-authored-by: Istvan Petres <pijulius@users.noreply.github.com>
2 years agopass boxWidth only if pointStyleWidth presents (#10524)
Dominic Jean [Fri, 29 Jul 2022 13:40:28 +0000 (09:40 -0400)] 
pass boxWidth only if pointStyleWidth presents (#10524)

2 years agofix: calc visible points on update #10467 (#10523)
Dan Onoshko [Thu, 28 Jul 2022 11:46:00 +0000 (18:46 +0700)] 
fix: calc visible points on update #10467 (#10523)

2 years agoImprove docs radial linear grid (#10518)
Jacco van den Berg [Wed, 27 Jul 2022 20:16:32 +0000 (22:16 +0200)] 
Improve docs radial linear grid (#10518)

* make link work in github itself

* fix dead link on reload or new tab

* document the props for radial grid

* remove extra chart and space

2 years agoFix Stack Overflow tag: chart.js (#10522)
Peter Hauke [Wed, 27 Jul 2022 18:17:01 +0000 (20:17 +0200)] 
Fix Stack Overflow tag: chart.js (#10522)

* Fix Stack Overflow tag: chart.js

The same fix as accepted in: #10520

The correct Stack Overflow tag name is chart.js and not chartjs

* Fix Stack Overflow tag: chart.js

The same fix as accepted in: #10520

The correct Stack Overflow tag name is chart.js and not chartjs

2 years agoFix Stack Overflow tag: chart.js (#10520)
Peter Hauke [Wed, 27 Jul 2022 15:15:55 +0000 (17:15 +0200)] 
Fix Stack Overflow tag: chart.js (#10520)

2 years agoparsing: support dot(s) in object keys (#10517)
Jukka Kurkela [Tue, 26 Jul 2022 12:30:52 +0000 (15:30 +0300)] 
parsing: support dot(s) in object keys (#10517)

2 years agoEnable borderDash option in the grid as scriptable (#10519)
stockiNail [Tue, 26 Jul 2022 12:28:15 +0000 (14:28 +0200)] 
Enable borderDash option in the grid as scriptable (#10519)

2 years agoFix dead link on reload or open in new tab (#10515)
Jacco van den Berg [Mon, 25 Jul 2022 12:45:52 +0000 (14:45 +0200)] 
Fix dead link on reload or open in new tab (#10515)

* make link work in github itself

* fix dead link on reload or new tab

2 years agoClarifying threshold requirement in the docs for decimation (#10516)
M4sterShake [Mon, 25 Jul 2022 12:44:17 +0000 (13:44 +0100)] 
Clarifying threshold requirement in the docs for decimation (#10516)

Co-authored-by: Max Borkowski <max.borkowski@lexisnexisrisk.com>
2 years agoExplicitly include package.json files for subpackages (#10513) v3.8.2
Evert Timberg [Sun, 24 Jul 2022 18:42:33 +0000 (14:42 -0400)] 
Explicitly include package.json files for subpackages (#10513)

Remove redundant permissions on release CI to prevent a failure
Bump version to v3.8.2

Co-authored-by: Chart.js <>
2 years agoBump to 3.8.1 (#10509) v3.8.1
Evert Timberg [Sun, 24 Jul 2022 15:38:49 +0000 (11:38 -0400)] 
Bump to 3.8.1 (#10509)

2 years agoResolve plugin defaults for local plugins (#10484)
Jukka Kurkela [Sun, 24 Jul 2022 14:56:48 +0000 (17:56 +0300)] 
Resolve plugin defaults for local plugins (#10484)

2 years agodraw tooltip with object borderwidth (#10489)
Jacco van den Berg [Wed, 20 Jul 2022 17:25:47 +0000 (19:25 +0200)] 
draw tooltip with object borderwidth (#10489)

2 years agodocument defaults for plugins (#10490)
Jacco van den Berg [Wed, 20 Jul 2022 16:53:14 +0000 (18:53 +0200)] 
document defaults for plugins (#10490)

2 years agomake link work in github itself (#10497)
Jacco van den Berg [Wed, 20 Jul 2022 16:51:50 +0000 (18:51 +0200)] 
make link work in github itself (#10497)

2 years agoImprove error message with id of the canvas (#10495)
Jacco van den Berg [Wed, 20 Jul 2022 16:51:34 +0000 (18:51 +0200)] 
Improve error message with id of the canvas (#10495)

* improve error message with id of the canvas
* update test

2 years agoupdate typing of clip, allow it to be configurable in the options for typescript...
Jacco van den Berg [Wed, 20 Jul 2022 16:51:22 +0000 (18:51 +0200)] 
update typing of clip, allow it to be configurable in the options for typescript (#10494)

2 years agoBump terser from 4.8.0 to 4.8.1 (#10493)
dependabot[bot] [Wed, 20 Jul 2022 16:51:10 +0000 (12:51 -0400)] 
Bump terser from 4.8.0 to 4.8.1 (#10493)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoAdd pointStyleWidth option for legend (#10412)
Dominic Jean [Mon, 18 Jul 2022 10:49:08 +0000 (06:49 -0400)] 
Add pointStyleWidth option for legend (#10412)

* add pointStyleWidth for legend

* add drawPointLegend to keep drawPoint signature

2 years agoAdd a stale version warning + a link to the latest version of docs (#10446)
Igor Lukanin [Mon, 18 Jul 2022 10:48:41 +0000 (14:48 +0400)] 
Add a stale version warning + a link to the latest version of docs (#10446)

* Add a stale version warning + a link to the latest version of docs

* Update docs/.vuepress/config.js

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
* Shorten the warning

* Revert master title

* Revert master title

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
3 years agoBump moment from 2.29.2 to 2.29.4 (#10471)
dependabot[bot] [Thu, 7 Jul 2022 11:53:32 +0000 (07:53 -0400)] 
Bump moment from 2.29.2 to 2.29.4 (#10471)

Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  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 agoLint before build & test, remove lint from test (#10462)
Jacco van den Berg [Thu, 7 Jul 2022 11:15:54 +0000 (13:15 +0200)] 
Lint before build & test, remove lint from test (#10462)

* Lint before build & test, remove lint from test
* should reconize test now
* test skip build in test step
* readd build step

3 years agoUpdate integration.md (#10470)
Andrew Lyndem [Thu, 7 Jul 2022 11:15:09 +0000 (16:45 +0530)] 
Update integration.md (#10470)

Fixed grammatical error on line 93

3 years agoAdd dependencie updates under the development part in release drafter (#10445)
Jacco van den Berg [Wed, 29 Jun 2022 14:41:13 +0000 (16:41 +0200)] 
Add dependencie updates under the development part in release drafter (#10445)

3 years agoFix options update when changing to shared opts (#10451)
Jukka Kurkela [Wed, 29 Jun 2022 13:44:51 +0000 (16:44 +0300)] 
Fix options update when changing to shared opts (#10451)

3 years agoEnforce maximum width on chart editor blocks in the docs (#10447)
Igor Lukanin [Wed, 29 Jun 2022 13:38:00 +0000 (17:38 +0400)] 
Enforce maximum width on chart editor blocks in the docs (#10447)

* Enforce max width on chart editor blocks

* Shrink the chart view rather than the whole chart editor

3 years agoFix crash with skipNull and uneven datasets (#10454)
Jukka Kurkela [Wed, 29 Jun 2022 11:46:48 +0000 (14:46 +0300)] 
Fix crash with skipNull and uneven datasets (#10454)

3 years agoUpdate aspectRatio documentation (#10456)
Jukka Kurkela [Wed, 29 Jun 2022 11:46:00 +0000 (14:46 +0300)] 
Update aspectRatio documentation (#10456)

3 years agoAdd index to legendItem interface (#10436)
Jacco van den Berg [Wed, 22 Jun 2022 13:22:53 +0000 (15:22 +0200)] 
Add index to legendItem interface (#10436)

* Add index to legendItem interface for doughnut, pie and polarArea charts. Make datasetIndex optional since the before named charts dont include it.

* Remove test to check if datasetIndex has been set in generateLabels function for legend

3 years agoUpdate responsive.md (#10415)
Brian Ball [Wed, 22 Jun 2022 13:22:31 +0000 (06:22 -0700)] 
Update responsive.md (#10415)

* Update responsive.md

* Update docs/configuration/responsive.md

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
3 years agoRespect `fill: false` with custom draw times (#10414)
Jacco van den Berg [Wed, 22 Jun 2022 11:41:18 +0000 (13:41 +0200)] 
Respect `fill: false` with custom draw times (#10414)

* Resolve canvasgradient is not defined in node
* Remove trailing white space
* export isPaternOrGradient helper with typings
* fix lint failure, single qoute
* Respect `fill: false` with custom draw times
* correctly listen to fill property
* remove console log and lint errors
* implement feedback, still update control points

3 years agoclarify helpers need to be imported when using bundlers (#10434)
Jacco van den Berg [Wed, 22 Jun 2022 06:09:02 +0000 (08:09 +0200)] 
clarify helpers need to be imported when using bundlers (#10434)

3 years agoBump actions/setup-node from 2 to 3 (#10431)
dependabot[bot] [Tue, 21 Jun 2022 04:13:18 +0000 (07:13 +0300)] 
Bump actions/setup-node from 2 to 3 (#10431)

* Bump actions/setup-node from 2 to 3

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update .github/workflows/ci.yml

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Apply suggestions from code review

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
* Update .github/workflows/deploy-docs.yml

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evert Timberg <evert.timberg@gmail.com>
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 actions/checkout from 2 to 3 (#10430)
dependabot[bot] [Mon, 20 Jun 2022 11:54:06 +0000 (07:54 -0400)] 
Bump actions/checkout from 2 to 3 (#10430)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agochore: Included githubactions in the dependabot config (#10423)
Naveen [Mon, 20 Jun 2022 04:13:52 +0000 (23:13 -0500)] 
chore: Included githubactions in the dependabot config (#10423)

This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>