]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Jacco van den Berg [Wed, 3 Aug 2022 12:46:38 +0000 (14:46 +0200)]
Bump to 3.9.1 (#10555)
Jacco van den Berg [Wed, 3 Aug 2022 12:27:27 +0000 (14:27 +0200)]
fix import helpers (#10552)
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
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
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
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
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)
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
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>
Dominic Jean [Fri, 29 Jul 2022 13:40:28 +0000 (09:40 -0400)]
pass boxWidth only if pointStyleWidth presents (#10524)
Dan Onoshko [Thu, 28 Jul 2022 11:46:00 +0000 (18:46 +0700)]
fix: calc visible points on update #10467 (#10523)
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
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
Peter Hauke [Wed, 27 Jul 2022 15:15:55 +0000 (17:15 +0200)]
Fix Stack Overflow tag: chart.js (#10520)
Jukka Kurkela [Tue, 26 Jul 2022 12:30:52 +0000 (15:30 +0300)]
parsing: support dot(s) in object keys (#10517)
stockiNail [Tue, 26 Jul 2022 12:28:15 +0000 (14:28 +0200)]
Enable borderDash option in the grid as scriptable (#10519)
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
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>
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 <>
Evert Timberg [Sun, 24 Jul 2022 15:38:49 +0000 (11:38 -0400)]
Bump to 3.8.1 (#10509)
Jukka Kurkela [Sun, 24 Jul 2022 14:56:48 +0000 (17:56 +0300)]
Resolve plugin defaults for local plugins (#10484)
Jacco van den Berg [Wed, 20 Jul 2022 17:25:47 +0000 (19:25 +0200)]
draw tooltip with object borderwidth (#10489)
Jacco van den Berg [Wed, 20 Jul 2022 16:53:14 +0000 (18:53 +0200)]
document defaults for plugins (#10490)
Jacco van den Berg [Wed, 20 Jul 2022 16:51:50 +0000 (18:51 +0200)]
make link work in github itself (#10497)
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
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)
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>
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
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>
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>
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
Andrew Lyndem [Thu, 7 Jul 2022 11:15:09 +0000 (16:45 +0530)]
Update integration.md (#10470)
Fixed grammatical error on line 93
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)
Jukka Kurkela [Wed, 29 Jun 2022 13:44:51 +0000 (16:44 +0300)]
Fix options update when changing to shared opts (#10451)
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
Jukka Kurkela [Wed, 29 Jun 2022 11:46:48 +0000 (14:46 +0300)]
Fix crash with skipNull and uneven datasets (#10454)
Jukka Kurkela [Wed, 29 Jun 2022 11:46:00 +0000 (14:46 +0300)]
Update aspectRatio documentation (#10456)
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
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>
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
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)
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>
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>
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>
Naveen [Mon, 13 Jun 2022 14:25:56 +0000 (09:25 -0500)]
chore: Set permissions for GitHub actions (#10399)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
Hossein Pourbahrami [Wed, 8 Jun 2022 11:51:17 +0000 (16:21 +0430)]
Typo fix (#10410)
Jacco van den Berg [Tue, 7 Jun 2022 12:59:41 +0000 (14:59 +0200)]
Add padding to pointLabels type, add type to scriptable context (#10404)
* Add padding to pointLabelTypings and add type field to context
* Use correct scriptable helper
* Remove trailing space
stockiNail [Mon, 6 Jun 2022 14:04:33 +0000 (16:04 +0200)]
Fix default value of 'includeInvisible' option in the documentation (#10400)
dependabot[bot] [Thu, 2 Jun 2022 04:04:48 +0000 (07:04 +0300)]
Bump eventsource from 1.1.0 to 1.1.1 (#10393)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jacco van den Berg [Wed, 1 Jun 2022 18:38:39 +0000 (20:38 +0200)]
clarify api docs (#10392)
Jacco van den Berg [Tue, 31 May 2022 18:01:39 +0000 (20:01 +0200)]
Allow for each dataset to be individually typed without a main type (#10387)
* allow for each dataset to be individually typed without a main type
* fix lint issues
* add extra test cases
Jacco van den Berg [Wed, 25 May 2022 14:06:57 +0000 (16:06 +0200)]
Bump to 3.8.0 (#10377)
Jacco van den Berg [Wed, 25 May 2022 11:49:12 +0000 (13:49 +0200)]
Types: Allow font to be partial scriptable and individually scriptable (#10364)
* allow font scriptable to return partial object and be scriptable
* add other elements as scriptable
* rename variable for context to resolve lint issue
* add duplicate font for non scriptable
* change to scriptableOptions
* fix parameter
* missing space
* Change name of helper function to match other helper function
Yiwen Wang [Wed, 25 May 2022 10:25:27 +0000 (18:25 +0800)]
Add option to include invisible points (#10362)
* Add option to include invisible points
* Minor fixes
* Add doc for newly added option
* Fix typo
* Add test for newly added option
* Improve description of the new option
* Update docs/configuration/interactions.md
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Co-authored-by: Yiwen Wang 🌊 <yiwwan@microsoft.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Evert Timberg [Mon, 23 May 2022 16:51:17 +0000 (12:51 -0400)]
Update to v0.2.1 color dependency to fix bug with invalid colours (#10371)
* Update to v0.2.0 color dependency to fix bug with invalid colours
* v0.2.1
Evert Timberg [Sun, 22 May 2022 17:15:34 +0000 (13:15 -0400)]
Coveralls no longer runs on Windows CI (#10367)
Jacco van den Berg [Sun, 22 May 2022 13:50:32 +0000 (15:50 +0200)]
Update scale polarArea correctly on data hide (#10340)
* give correct range back for polarArea
* added test
* tab to spaces
linkviii [Sat, 21 May 2022 15:02:13 +0000 (11:02 -0400)]
Add links to docs in all the samples (#10308)
Kyle J [Wed, 11 May 2022 14:52:29 +0000 (07:52 -0700)]
Correct auto.esm.js import to allow use directly from the browser
Jacco van den Berg [Sun, 8 May 2022 17:19:41 +0000 (19:19 +0200)]
Remove test job from windows runner (#10345)
* Remove test stop from windows runner
* consistent formatting
t-mangoe [Sat, 7 May 2022 14:43:47 +0000 (23:43 +0900)]
display tooltips only at points in chart area (#10289)
* show only points in chart area
* use the _isPointInArea helper function
Jacco van den Berg [Tue, 3 May 2022 12:21:43 +0000 (14:21 +0200)]
Resolve canvasGradient is undefined in node (#10328)
* Resolve canvasgradient is not defined in node
* Remove trailing white space
* export isPaternOrGradient helper with typings
* fix lint failure, single qoute
* Allow for string inputs too to function
luke-heberling [Sun, 1 May 2022 18:28:41 +0000 (11:28 -0700)]
Use abs() when comparing for spanGaps (#10316)
* Use abs() when comparing for spanGaps
* tests for spanGaps w/ integer (boolean already covered)
* remove redundant default config from spanGaps tests
dependabot[bot] [Mon, 25 Apr 2022 20:57:17 +0000 (16:57 -0400)]
Bump async from 2.6.3 to 2.6.4 (#10320)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 25 Apr 2022 20:23:51 +0000 (23:23 +0300)]
Bump moment from 2.29.1 to 2.29.2 (#10290)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [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.1...2.29.2)
---
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>
Evert Timberg [Fri, 15 Apr 2022 23:36:42 +0000 (19:36 -0400)]
Trigger legend onLeave when the mouse leaves the canvas (#10301)
Evert Timberg [Fri, 15 Apr 2022 22:31:09 +0000 (18:31 -0400)]
Enable configuration of radial scale point label border radius (#10293)
Jukka Kurkela [Tue, 5 Apr 2022 15:52:45 +0000 (18:52 +0300)]
Types: add 'middle' to borderSkipped (#10283)
Evert Timberg [Sun, 3 Apr 2022 20:05:43 +0000 (16:05 -0400)]
Allow time scale to offset using skipped ticks (#10278)
Evert Timberg [Sun, 3 Apr 2022 14:09:46 +0000 (10:09 -0400)]
Document tooltip draw hooks and only call hooks when the tooltip draws (#10276)
* Document tooltip draw hooks and only call hooks when the tooltip draws
* Update tests
Evert Timberg [Sun, 3 Apr 2022 13:40:31 +0000 (09:40 -0400)]
Export types for cartesian and radial tick options (#10275)
Akira Aso [Thu, 31 Mar 2022 12:08:21 +0000 (21:08 +0900)]
Fix a typo in data-structures.md (#10259)
Change `The provides labels can be` to `The provided labels can be`.
Co-authored-by: Akira Aso <44665462+akiorange@users.noreply.github.com>
Jacco van den Berg [Thu, 31 Mar 2022 12:08:13 +0000 (14:08 +0200)]
add startangle to radial scale opts (#10269)
Jacco van den Berg [Thu, 31 Mar 2022 12:08:00 +0000 (14:08 +0200)]
Correct chart initialization flow (#10266)
* update flow chart to reflect correct flow
* Update drawio file
dependabot[bot] [Thu, 31 Mar 2022 11:54:05 +0000 (14:54 +0300)]
Bump minimist from 1.2.5 to 1.2.6 (#10260)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Josh Kelley [Thu, 24 Mar 2022 13:02:30 +0000 (09:02 -0400)]
Interaction functions (#10046)
* Refactor get...Items functions to take events rather than positions
To work toward exposing something like the get...Items functions.
* Switch getAxisItems to use optimizedEvaluateItems
optimizedEvaluateItems falls back to evaluating all items for unsorted items, and sorting / optimizing ought to be okay, so this ought to be equivalent.
* Performance
* Consolidate getRelativePosition
helpers.dom.js's getRelativePosition already had logic to handle ChartEvent vs. Event (as demonstrated by the `native` check within `getCanvasPosition`), so it's redundant for core.interaction.js to have its own `native` check.
Update `getRelativePosition` to use the same `native` check as core.interaction.js's version. As best as I can tell, the ChartEvent's x and y are populated from `getRelativePosition`, so the previous `getCanvasPosition` was effectively just duplicating `getRelativePosition'`s work. I added a test to verify this; it depends on a local, not-yet-submitted change in chartjs-test-utils' `triggerMouseEvent` to return the mouse event that it triggers.
* Add an API to refactor duplicate isPointInArea
* Rename and update JSDoc to prepare for making this public
* Give functions a consistent, generic interface
* Export functions for discussion
* Code review feedback
Add a non-null assertion, as requested in code review.
Add JSDoc to clarify that `getCanvasPosition` now expects a native `Event`, not a `ChartEvent`. Add `@ts-ignore`; `getCanvasPosition` relied on some loose conversions between `Event`, `TouchEvent`, and `Touch` that would require several changes to make TypeScript happy.
* Code review feedback
Return the event directly, to speed up the code a bit. Add JSDoc to help communicate its intent. Update various comments.
* Finalize exports; add docs and TypeScript
* Update src/helpers/helpers.dom.js
* Update src/helpers/helpers.dom.js
Only thing needed actually is the update of chartjs-test-utils to 0.4.0
* Bump chartjs-test-utils dependency
To get supporting work from https://github.com/chartjs/chartjs-test-utils/pull/19
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Martin Steiger [Thu, 24 Mar 2022 12:42:46 +0000 (13:42 +0100)]
Add missing fields to the ScriptableContext type (#10254)
Jacco van den Berg [Sun, 20 Mar 2022 23:59:12 +0000 (00:59 +0100)]
Update link to filler plugin (#10250)
Jacco van den Berg [Fri, 18 Mar 2022 21:39:55 +0000 (22:39 +0100)]
resolve circulair import (#10247)
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>
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>
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>
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>
Adam Parkin [Tue, 22 Feb 2022 13:37:33 +0000 (05:37 -0800)]
Update animations.md (#10184)
Fix broken link to animations sample.
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
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
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>
Jacco van den Berg [Mon, 14 Feb 2022 02:26:22 +0000 (03:26 +0100)]
remove hardcoded licenseYear in docs (#10158)
Evert Timberg [Sun, 13 Feb 2022 20:27:46 +0000 (15:27 -0500)]
minimum bar length setting keeps bar base in view (#10157)
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
Evert Timberg [Sun, 13 Feb 2022 15:22:12 +0000 (10:22 -0500)]
Document scale update plugin hooks (#10154)
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>
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
Jukka Kurkela [Sat, 12 Feb 2022 15:22:38 +0000 (17:22 +0200)]
Refactor filler plugin for easier maintenance (#10040)
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>
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>
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>
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>
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>
Evert Timberg [Sat, 12 Feb 2022 14:48:34 +0000 (09:48 -0500)]
Bump to 3.7.1 (#10148)