]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
14 months agodo not attempt to clear canvas if one does not exist (#11764)
Arun Philip [Fri, 17 May 2024 12:16:58 +0000 (08:16 -0400)] 
do not attempt to clear canvas if one does not exist (#11764)

* do not attempt to clear canvas if one does not exist

* update test to explicitly run clearCanvas method to ensure it doesn't throw an error

* explicitly set canvas and ctx to null in test since the helper in test code didn't

* Update test/specs/helpers.canvas.tests.js

---------

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
14 months agoBump pnpm/action-setup from 3.0.0 to 4.0.0 (#11773)
dependabot[bot] [Mon, 13 May 2024 12:29:49 +0000 (08:29 -0400)] 
Bump pnpm/action-setup from 3.0.0 to 4.0.0 (#11773)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  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>
15 months agoUpdate LICENSE.md year (#11762)
Liam Swayne [Mon, 6 May 2024 12:40:54 +0000 (08:40 -0400)] 
Update LICENSE.md year (#11762)

15 months agoBump follow-redirects from 1.15.4 to 1.15.6 (#11720)
dependabot[bot] [Mon, 29 Apr 2024 04:42:20 +0000 (06:42 +0200)] 
Bump follow-redirects from 1.15.4 to 1.15.6 (#11720)

15 months agoFix error when object prototype is frozen (#11754)
EricWittrock [Mon, 29 Apr 2024 04:42:05 +0000 (23:42 -0500)] 
Fix error when object prototype is frozen (#11754)

15 months ago#11450 hide bar by dataindex (#11755)
EricWittrock [Mon, 29 Apr 2024 04:36:56 +0000 (23:36 -0500)] 
#11450 hide bar by dataindex (#11755)

15 months agoCreate parsed object with correct keys (#11690)
Jacco van den Berg [Mon, 29 Apr 2024 00:37:29 +0000 (02:37 +0200)] 
Create parsed object with correct keys (#11690)

* Create parsed object with correct keys

* Add test

17 months agoplatform.isAttached should return false if canvas is false-y (#11707)
Arun Philip [Mon, 11 Mar 2024 08:57:07 +0000 (04:57 -0400)] 
platform.isAttached should return false if canvas is false-y (#11707)

* platform.isAttached should return false if canvas is false-y

* change styling to conform to codeclimate linter

17 months agoBump to 4.4.2 (#11689) v4.4.2
Jacco van den Berg [Wed, 28 Feb 2024 16:43:58 +0000 (17:43 +0100)] 
Bump to 4.4.2 (#11689)

17 months agoaddListener and removeListener are only invoked on defined (and valid) values (#11685)
Arun Philip [Wed, 28 Feb 2024 15:55:52 +0000 (10:55 -0500)] 
addListener and removeListener are only invoked on defined (and valid) values (#11685)

17 months agofix #11503, autoskipping 0 ticks when min is below 0 (#11682)
Megaemce [Sat, 24 Feb 2024 19:30:35 +0000 (02:30 +0700)] 
fix #11503, autoskipping 0 ticks when min is below 0 (#11682)

17 months agodocs(types): fix description in index.d.ts (#11674)
mirumi [Sun, 18 Feb 2024 12:31:37 +0000 (21:31 +0900)] 
docs(types): fix description in index.d.ts (#11674)

17 months agoBump pnpm/action-setup from 2.4.0 to 3.0.0 (#11664)
dependabot[bot] [Mon, 12 Feb 2024 13:50:16 +0000 (08:50 -0500)] 
Bump pnpm/action-setup from 2.4.0 to 3.0.0 (#11664)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2.4.0...v3.0.0)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  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>
17 months agochanged r to optional in BubbleDataPoint (#11662)
waszkiewiczja [Mon, 12 Feb 2024 13:49:57 +0000 (14:49 +0100)] 
changed r to optional in BubbleDataPoint (#11662)

18 months agoBump release-drafter/release-drafter from 5 to 6 (#11657)
dependabot[bot] [Tue, 6 Feb 2024 15:06:54 +0000 (10:06 -0500)] 
Bump release-drafter/release-drafter from 5 to 6 (#11657)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5 to 6.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  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>
18 months agoBump dorny/paths-filter from 2 to 3 (#11650)
dependabot[bot] [Sun, 4 Feb 2024 18:43:48 +0000 (19:43 +0100)] 
Bump dorny/paths-filter from 2 to 3 (#11650)

Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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>
19 months agoBump socket.io-parser from 4.2.2 to 4.2.4 (#11636)
dependabot[bot] [Tue, 9 Jan 2024 16:24:51 +0000 (11:24 -0500)] 
Bump socket.io-parser from 4.2.2 to 4.2.4 (#11636)

Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.4)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 months agoBump follow-redirects from 1.15.2 to 1.15.4 (#11635)
dependabot[bot] [Tue, 9 Jan 2024 16:24:43 +0000 (11:24 -0500)] 
Bump follow-redirects from 1.15.2 to 1.15.4 (#11635)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
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>
19 months agoUpdate pnpm lockfile (#11633)
Jacco van den Berg [Tue, 9 Jan 2024 14:26:44 +0000 (15:26 +0100)] 
Update pnpm lockfile (#11633)

19 months agofix(#11615): fix calculating caretX position on stacked bar with index interaction...
Hyun-je Alex Moon [Wed, 27 Dec 2023 06:18:14 +0000 (15:18 +0900)] 
fix(#11615): fix calculating caretX position on stacked bar with index interaction. (#11616)

19 months agoAdd extra calrification for html legend (#11614)
Jacco van den Berg [Thu, 14 Dec 2023 21:11:26 +0000 (22:11 +0100)] 
Add extra calrification for html legend (#11614)

20 months agoBump 4.4.1 (#11606) v4.4.1
Jacco van den Berg [Mon, 4 Dec 2023 19:18:19 +0000 (20:18 +0100)] 
Bump 4.4.1 (#11606)

20 months agoUpdate font spec type (#11605)
Jacco van den Berg [Mon, 4 Dec 2023 18:56:38 +0000 (19:56 +0100)] 
Update font spec type (#11605)

20 months agoRemove size limit from CI (#11599)
Jacco van den Berg [Thu, 30 Nov 2023 13:37:04 +0000 (14:37 +0100)] 
Remove size limit from CI (#11599)

* Remove size limit from CI

* remove eslint ignores

20 months agoTooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596)
Josh Kelley [Wed, 29 Nov 2023 19:51:56 +0000 (14:51 -0500)] 
Tooltip fixes (getLabelAndValue on null controller, null getParsed) (#11596)

* Fix for getLabelAndValue on null controller

I encountered #11315 under the following circumstances:

1. Position the cursor over the chart area, such that it causes a
   tooltip to be shown.
2. Move the cursor out of the chart area, such that the tooltip remains
   visible.
3. Cause the chart contents to be changed, such that the dataset
   referenced by the active tooltip element is no longer valid.
4. Move the mouse again.  This triggers an `inChartArea = false` event,
   so it reuses the previous, now invalid, active elements.

This fixes #11315 under the circumstances for which I've reproduced it,
but there may be others.

* Further fixes for elements added / changed

This possibly fixes #11365.

20 months agofix: Guard access to window in helpers.dom.ts for browserless rendering (#11588)
Kevin Read [Fri, 17 Nov 2023 15:34:20 +0000 (16:34 +0100)] 
fix: Guard access to window in helpers.dom.ts for browserless rendering (#11588)

21 months agoFix backdrop padding (#11577)
Jacco van den Berg [Thu, 9 Nov 2023 23:25:36 +0000 (00:25 +0100)] 
Fix backdrop padding (#11577)

* fix for alignment inner

* Add test

* Remove eslint ignores

* remove unecesarry config

* Remove text from test

21 months agofix: Property platform missing from chart configuration typings (#11572)
Dimitris-Rafail Katsampas [Thu, 9 Nov 2023 22:35:01 +0000 (00:35 +0200)] 
fix: Property platform missing from chart configuration typings (#11572)

21 months agoReplace deprecated command with environment file (#11570)
Jongwoo Han [Mon, 6 Nov 2023 17:35:20 +0000 (02:35 +0900)] 
Replace deprecated command with environment file (#11570)

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
21 months agofix: pass Plugin TType down to hooks chart arg (#11569)
Vsevolod Fedorov [Mon, 6 Nov 2023 17:34:29 +0000 (19:34 +0200)] 
fix: pass Plugin TType down to hooks chart arg (#11569)

21 months agoFix migration docs links (#11562)
Jacco van den Berg [Mon, 30 Oct 2023 12:48:10 +0000 (13:48 +0100)] 
Fix migration docs links (#11562)

21 months agoBump actions/setup-node from 3 to 4 (#11560)
dependabot[bot] [Mon, 30 Oct 2023 12:08:16 +0000 (08:08 -0400)] 
Bump actions/setup-node from 3 to 4 (#11560)

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

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
22 months agorevert node version (#11499)
Jacco van den Berg [Thu, 14 Sep 2023 13:41:54 +0000 (15:41 +0200)] 
revert node version (#11499)

22 months agoUpdate node checkout and version (#11498)
Jacco van den Berg [Thu, 14 Sep 2023 13:20:57 +0000 (15:20 +0200)] 
Update node checkout and version (#11498)

* Add min extension to umd build

* Update node checkout and runtime versions

* remove unsaved code

23 months agofix: simplify check hasFunction (#11490)
Mikhail [Mon, 11 Sep 2023 06:31:29 +0000 (09:31 +0300)] 
fix: simplify check hasFunction (#11490)

23 months agoallow mode to be a callback function (#11488)
Cazka [Wed, 6 Sep 2023 15:13:33 +0000 (17:13 +0200)] 
allow mode to be a callback function (#11488)

23 months agodocs: Fix typo for documentation of plugins.tooltip.textDirection (#11483)
Chocomint [Mon, 4 Sep 2023 08:13:29 +0000 (17:13 +0900)] 
docs: Fix typo for documentation of plugins.tooltip.textDirection (#11483)

23 months agoBump 4.4.0 (#11461) v4.4.0
Jacco van den Berg [Thu, 24 Aug 2023 12:34:45 +0000 (14:34 +0200)] 
Bump 4.4.0 (#11461)

2 years agofix: Add backgroundColor type on CoreScaleOptions (#11348)
Mercy Bickell [Mon, 7 Aug 2023 22:18:54 +0000 (16:18 -0600)] 
fix: Add backgroundColor type on CoreScaleOptions (#11348)

* Fix: add backgroundColor type on CartesianScaleOptions

* Add instead on CoreScaleOptions

* Remove redundant backgroundColor from RadialLinearScaleOptions

2 years agoReplace html extension with md extension for docs (#11439)
Jacco van den Berg [Mon, 7 Aug 2023 22:12:44 +0000 (00:12 +0200)] 
Replace html extension with md extension for docs (#11439)

* Replace html extension with md extension for docs

* Revert some links

* Commit saved files

2 years agoBorderRadius of Bar Chart issue on Firefox 116 (#11435)
Bogdan Korshunov [Mon, 7 Aug 2023 18:16:32 +0000 (23:16 +0500)] 
BorderRadius of Bar Chart issue on Firefox 116 (#11435)

Co-authored-by: bogdankorshunov <korshunov.oren@gmail.com>
2 years agoAdd clip option to scale configuration to allow unclipped scales (#11404)
stockiNail [Mon, 7 Aug 2023 18:16:20 +0000 (20:16 +0200)] 
Add clip option to scale configuration to allow unclipped scales (#11404)

* Add clip option to scale configuration to allow unclipped scales

* add images

* fix cc

* change name of function

2 years agochore: bump to v4.3.3 (#11433) v4.3.3
Evert Timberg [Wed, 2 Aug 2023 23:11:12 +0000 (19:11 -0400)] 
chore: bump to v4.3.3 (#11433)

2 years agoRevert fix for monotone cubic interpolation (#11432)
stockiNail [Wed, 2 Aug 2023 14:42:29 +0000 (16:42 +0200)] 
Revert fix for monotone cubic interpolation (#11432)

2 years agoBump pnpm/action-setup from 2.2.4 to 2.4.0 (#11427)
dependabot[bot] [Mon, 31 Jul 2023 12:11:26 +0000 (08:11 -0400)] 
Bump pnpm/action-setup from 2.2.4 to 2.4.0 (#11427)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump 4.3.2 (#11423) v4.3.2
Jacco van den Berg [Wed, 26 Jul 2023 15:31:08 +0000 (17:31 +0200)] 
Bump 4.3.2 (#11423)

2 years agoRevert feature to disable plugins by TS (#11422)
stockiNail [Wed, 26 Jul 2023 12:59:42 +0000 (14:59 +0200)] 
Revert feature to disable plugins by TS (#11422)

2 years agoUpdates to scale type definitions (#11419)
Josh Kelley [Tue, 25 Jul 2023 22:39:25 +0000 (18:39 -0400)] 
Updates to scale type definitions (#11419)

While adding some type definitions to chartjs-plugin-zoom
(see https://github.com/chartjs/chartjs-plugin-zoom/pull/774), I noticed
a few limitations in Chart.js's scale types:

* The zoom plugin calls `Scale.parse` with no index parameter.  Scale's
  JSDoc allows this, but its TypeScript definitions did not.
* The zoom plugin alters scale options' min and max.  The specific types
  of these depend on which scale is in use, but every scale has them, so
  `unknown` seems appropriate

2 years agoBump 4.3.1 (#11417) v4.3.1
Jacco van den Berg [Mon, 24 Jul 2023 19:40:34 +0000 (21:40 +0200)] 
Bump 4.3.1 (#11417)

2 years agoAdd missing feature for disabling plugins in TyeScript (#11403)
stockiNail [Mon, 24 Jul 2023 19:39:38 +0000 (21:39 +0200)] 
Add  missing feature for disabling plugins in TyeScript (#11403)

* Add  missing feature for disabling plugins in TyeScript

* apply review

* remove empty line

2 years agoFix curve path if scale limits are set for line chart (#11377)
stockiNail [Mon, 24 Jul 2023 17:58:23 +0000 (19:58 +0200)] 
Fix curve path if scale limits are set for line chart (#11377)

* Fix curve path if scale limits are set for line chart

* add scale limits test case

2 years agoFix time series scale to have each data point is spread equidistant (#11388)
stockiNail [Thu, 13 Jul 2023 20:36:08 +0000 (22:36 +0200)] 
Fix time series scale to have each data point is spread equidistant (#11388)

* Fix time series scale to have each data point is spread equidistant

* remove tabs

* remove casting and add/update test cases

2 years agoFix type of tickBorderDash in GridLineOptions (#11396)
skopz356 [Tue, 11 Jul 2023 18:32:10 +0000 (20:32 +0200)] 
Fix type of tickBorderDash in GridLineOptions (#11396)

2 years agoSplit the TimeScaleOptions type into composable sub types (#11187)
Evert Timberg [Wed, 5 Jul 2023 12:54:28 +0000 (08:54 -0400)] 
Split the TimeScaleOptions type into composable sub types (#11187)

2 years agofix: add pointStyleWidth to type definitions (#11383)
Evert Timberg [Sat, 1 Jul 2023 12:51:53 +0000 (08:51 -0400)] 
fix: add pointStyleWidth to type definitions (#11383)

2 years agoFix mismatch between hit boxes and drawn items in legend plugin (#11352)
stockiNail [Tue, 20 Jun 2023 16:20:12 +0000 (18:20 +0200)] 
Fix mismatch between hit boxes and drawn items in legend plugin (#11352)

* Fix mismatch between hit boxes and drawn items in legend plugin

* fixes padding calculation

2 years agoAdd `beforeDraw` to drawtime type (#11358)
Jacco van den Berg [Tue, 20 Jun 2023 16:16:50 +0000 (18:16 +0200)] 
Add `beforeDraw` to drawtime type (#11358)

2 years agoAdd events property to Plugin defined type (#11350)
stockiNail [Tue, 20 Jun 2023 16:16:37 +0000 (18:16 +0200)] 
Add events property to Plugin defined type (#11350)

2 years agoAdd text stoke radial linear scale (#11346)
Jacco van den Berg [Tue, 13 Jun 2023 21:31:17 +0000 (23:31 +0200)] 
Add text stoke radial linear scale (#11346)

2 years agoClarify update docs (#11345)
Jacco van den Berg [Tue, 13 Jun 2023 16:24:13 +0000 (18:24 +0200)] 
Clarify update docs (#11345)

2 years agoFix toggling showLine option on scatter controller (#11334)
stockiNail [Thu, 8 Jun 2023 12:53:50 +0000 (14:53 +0200)] 
Fix toggling showLine option on scatter controller (#11334)

2 years ago[docs] HTML Legend sample: add flex-shrink: 0 to color box (#11330)
Frans de Jonge [Wed, 7 Jun 2023 16:44:21 +0000 (18:44 +0200)] 
[docs] HTML Legend sample: add flex-shrink: 0 to color box (#11330)

This way the color box is prevented from shrinking in case of larger legends.

2 years agoRefined grammar and updated overall .md documentation files (#11324)
Muhammad Khalikov [Mon, 5 Jun 2023 07:56:56 +0000 (03:56 -0400)] 
Refined grammar and updated overall .md documentation files (#11324)

2 years agominor correction of documentation for 'Grace' (#11322)
Matt Hegarty [Sun, 4 Jun 2023 22:43:02 +0000 (23:43 +0100)] 
minor correction of documentation for 'Grace' (#11322)

2 years agoSwitch to discord (#11318)
Jacco van den Berg [Wed, 31 May 2023 18:02:58 +0000 (20:02 +0200)] 
Switch to discord (#11318)

2 years agoExport explicitly the plugin options definition which is augmented (#11309)
stockiNail [Thu, 25 May 2023 13:12:28 +0000 (15:12 +0200)] 
Export explicitly the plugin options definition which is augmented (#11309)

2 years ago Update slack link (#11301)
Jacco van den Berg [Fri, 19 May 2023 23:09:25 +0000 (01:09 +0200)] 
 Update slack link (#11301)

* Update slack link

* Fix build

2 years agoCorrect tooltip dates displaying incorrectly reported in #11229 (#11284)
Muhammad Khalikov [Fri, 19 May 2023 22:58:39 +0000 (18:58 -0400)] 
Correct tooltip dates displaying incorrectly reported in #11229 (#11284)

2 years agoExpend note that chart must be in its own dedicated container (#11300)
Jacco van den Berg [Fri, 19 May 2023 22:42:04 +0000 (00:42 +0200)] 
Expend note that chart must be in its own dedicated container (#11300)

2 years agoUpdate size limits (#11302)
Jacco van den Berg [Fri, 19 May 2023 22:40:37 +0000 (00:40 +0200)] 
Update size limits (#11302)

2 years agoBump to 4.3.0 (#11257) v4.3.0
Evert Timberg [Fri, 28 Apr 2023 05:18:20 +0000 (01:18 -0400)] 
Bump to 4.3.0 (#11257)

2 years agoEnable point labels hiding when overlapped (#11055)
stockiNail [Thu, 27 Apr 2023 22:28:55 +0000 (00:28 +0200)] 
Enable point labels hiding when overlapped (#11055)

* Enable point labels hiding when overlapped

* fix cc

* fallback CC updates

* fixes CC

2 years agoEnable applying of gradients and pattern on line segments (#11217)
stockiNail [Thu, 27 Apr 2023 22:25:13 +0000 (00:25 +0200)] 
Enable applying of gradients and pattern on line segments (#11217)

* Enable applying of gradients and pattern on line segments

* add test case

* improve replacer

2 years agoAdd redirect for old V3 migration guides in release notes (#11241)
Jacco van den Berg [Thu, 20 Apr 2023 15:50:41 +0000 (17:50 +0200)] 
Add redirect for old V3 migration guides in release notes (#11241)

* Add redirect for old V3 migration guides in release notes

* Add newline

2 years agoFix documentation about how to manage own custom plugin for types (#11244)
stockiNail [Thu, 20 Apr 2023 15:50:22 +0000 (17:50 +0200)] 
Fix documentation about how to manage own custom plugin for types (#11244)

2 years agoFix documentation about how to manage own custom plugin for types (#11244)
stockiNail [Thu, 20 Apr 2023 15:50:08 +0000 (17:50 +0200)] 
Fix documentation about how to manage own custom plugin for types (#11244)

2 years agoAdd version specific urls to release template (#11240)
Jacco van den Berg [Thu, 20 Apr 2023 15:49:30 +0000 (17:49 +0200)] 
Add version specific urls to release template (#11240)

2 years agoBorder is counted as part of ArcElement (#11180)
stockiNail [Wed, 19 Apr 2023 22:22:40 +0000 (00:22 +0200)] 
Border is counted as part of ArcElement (#11180)

* Border is counted as part of ArcElement

* improve calculation

2 years agoCheck for isNaN before building number formatter options (#11238)
Roman Shtylman [Wed, 19 Apr 2023 22:22:25 +0000 (15:22 -0700)] 
Check for isNaN before building number formatter options (#11238)

* Check for isNaN before building number formatter options

When datasets have values approaching Number.MAX_VALUE, the tick calculations might result in infinity and eventually NaN. Passing NaN for minimumFractionDigits or maximumFractionDigits will make the number formatter throw. Instead we check for isNaN and use a fallback value so the formatter does not throw.

* Update src/core/core.ticks.js

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

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2 years agodocs: Fix a few typos (#11220)
Tim Gates [Sun, 2 Apr 2023 11:58:40 +0000 (21:58 +1000)] 
docs: Fix a few typos (#11220)

There are small typos in:
- docs/general/colors.md
- src/controllers/controller.doughnut.js
- src/controllers/controller.pie.js
- src/scales/scale.time.js

Fixes:
- Should read `outer` rather than `outr`.
- Should read `indistinguishable` rather than `indistiguishable`.
- Should read `guesstimation` rather than `guestimation`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2 years agoUpdate size limits (#11212)
Jacco van den Berg [Wed, 29 Mar 2023 18:37:43 +0000 (20:37 +0200)] 
Update size limits (#11212)

2 years agochore: change pnpm version in engines field to be able to use 8.x.x (#11209)
Utku Demir [Wed, 29 Mar 2023 15:00:29 +0000 (18:00 +0300)] 
chore: change pnpm version in engines field to be able to use 8.x.x (#11209)

* chore: change pnpm version in engines field to be able to use 8.0.0

* chore: add pnpm version to workflows

* revert: pnpm version in workflows

This reverts commit 32dacab66908ac8f06f3d679cc285881c1d39078.

* chore: refresh lockfile with pnpm@7.9.0

2 years agorefactor: rewrite config helpers to ts (#11121)
Dan Onoshko [Tue, 21 Mar 2023 20:03:15 +0000 (00:03 +0400)] 
refactor: rewrite config helpers to ts (#11121)

* refactor: rewrite config helpers to ts

* refactor: review fixes

2 years agoAdd colors plugin to size limit (#11174)
Jacco van den Berg [Wed, 1 Mar 2023 23:46:01 +0000 (00:46 +0100)] 
Add colors plugin to size limit (#11174)

* Add colors plugin to size limit

* Increase size limit

2 years agoDisable canvas acceleration in Firefox 110 in test cases (#11165)
stockiNail [Sun, 26 Feb 2023 12:19:44 +0000 (13:19 +0100)] 
Disable canvas acceleration in Firefox 110 in test cases (#11165)

2 years agoUpdate tooltip.md (#11154)
Hubert Olender [Thu, 23 Feb 2023 13:05:50 +0000 (14:05 +0100)] 
Update tooltip.md (#11154)

* Update tooltip.md

Add missing `'`

* Update tooltip.md

Improve textDirection text

2 years agoSpecify node version for CI (#11160)
Jacco van den Berg [Wed, 22 Feb 2023 23:42:18 +0000 (00:42 +0100)] 
Specify node version for CI (#11160)

* specify node version

* Spam to run CI

* Remove docs update, specify node version at other places

2 years agoUse custom scale defaults and dataset axis ID options to determine the axis (#11134)
stockiNail [Wed, 15 Feb 2023 14:27:13 +0000 (15:27 +0100)] 
Use custom scale defaults and dataset axis ID options to determine the axis (#11134)

Use custom scale defaults to determine the axis

2 years agorefactor: rewrite canvas helpers to ts (#11100)
Dan Onoshko [Wed, 15 Feb 2023 14:26:49 +0000 (18:26 +0400)] 
refactor: rewrite canvas helpers to ts (#11100)

* refactor: rewrite canvas helpers to ts

* refactor: review fixes

* refactor: rm src/helpers/types.ts temporary entry point

2 years agoSimplify _arrayUnique (#11145)
Mikhail [Wed, 15 Feb 2023 14:20:29 +0000 (16:20 +0200)] 
Simplify _arrayUnique (#11145)

2 years agoDocs: fix tooltip model doc. (#11143)
leo2436 [Wed, 15 Feb 2023 13:13:24 +0000 (21:13 +0800)] 
Docs: fix tooltip model doc. (#11143)

Co-authored-by: Leo Chen <liang.chen@thoughtworks.com>
2 years agoAdd borderDash options to arc element (#11127)
stockiNail [Sun, 12 Feb 2023 22:46:05 +0000 (23:46 +0100)] 
Add borderDash options to arc element (#11127)

2 years agoChange labelColors to labelColor in tooltip drawColorBox method. (#11135)
leo2436 [Sun, 12 Feb 2023 19:15:07 +0000 (03:15 +0800)] 
Change labelColors to labelColor in tooltip drawColorBox method. (#11135)

Co-authored-by: Leo Chen <liang.chen@thoughtworks.com>
2 years agoFix: don't generate ticks > max if max is specified (#11116)
CodingMarco [Fri, 10 Feb 2023 12:57:58 +0000 (13:57 +0100)] 
Fix: don't generate ticks > max if max is specified (#11116)

* Fix: don't generate ticks > max if max is specified (#11083)

* Add test "Should not generate any ticks > max if max is specified" (#11083)

2 years agofix RTL tooltip colorBox placement (#11061)
Shahab HM [Fri, 10 Feb 2023 12:57:24 +0000 (16:27 +0330)] 
fix RTL tooltip colorBox placement (#11061)

* fix RTL tooltip colorBox placement #10771

* fix lint problem

2 years agoBump to 4.2.1 (#11130) v4.2.1
Evert Timberg [Fri, 10 Feb 2023 06:33:01 +0000 (01:33 -0500)] 
Bump to 4.2.1 (#11130)

2 years agofix: decimation plugin data not writeable after clean (#11045)
Johannes Kronmüller [Fri, 10 Feb 2023 05:45:43 +0000 (06:45 +0100)] 
fix: decimation plugin data not writeable after clean (#11045)

2 years agoUse maxTicksLimit option to calculate the labels size on ticks (#11069)
stockiNail [Thu, 9 Feb 2023 14:26:11 +0000 (15:26 +0100)] 
Use maxTicksLimit option to calculate the labels size on ticks (#11069)

* Use maxTicksLimit option to calculate the labels size on ticks

* apply review

2 years agoRemove unused property from arc element for center calculation (#11124)
stockiNail [Wed, 8 Feb 2023 23:01:11 +0000 (00:01 +0100)] 
Remove unused property from arc element for center calculation (#11124)

2 years agochore: #10963 revert (#11102)
Dan Onoshko [Tue, 7 Feb 2023 16:51:48 +0000 (23:51 +0700)] 
chore: #10963 revert (#11102)