]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
3 weeks agobump version to 4.5.0 (#12090) master v4.5.0
Jacco van den Berg [Sat, 14 Jun 2025 20:19:17 +0000 (22:19 +0200)] 
bump version to 4.5.0 (#12090)

3 weeks agoFix grammar typo: '... and only draw line.' -> '... and only draw lines.' (#12088)
Finn Moore [Wed, 11 Jun 2025 19:22:48 +0000 (15:22 -0400)] 
Fix grammar typo: '... and only draw line.' -> '... and only draw lines.' (#12088)

3 weeks agoFix minified url for development builds (#12087)
Jacco van den Berg [Wed, 11 Jun 2025 19:21:55 +0000 (21:21 +0200)] 
Fix minified url for development builds (#12087)

3 weeks agoFix min js two renames (#11470)
William Entriken [Tue, 10 Jun 2025 12:31:41 +0000 (08:31 -0400)] 
Fix min js two renames (#11470)

* Name artifact chart.umd.js, fixes #11455

* Add (.min)? to karma filter

3 weeks agofix: correct grammar in segment comments (#12084)
nakanoh [Tue, 10 Jun 2025 10:17:06 +0000 (19:17 +0900)] 
fix: correct grammar in segment comments (#12084)

4 weeks agoBump pnpm/action-setup from 4.0.0 to 4.1.0 (#12025)
dependabot[bot] [Fri, 6 Jun 2025 11:55:10 +0000 (13:55 +0200)] 
Bump pnpm/action-setup from 4.0.0 to 4.1.0 (#12025)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4.0.0...v4.1.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>
4 weeks agoUpdate docs for Developers API (#12082)
전성호 [Fri, 6 Jun 2025 11:54:37 +0000 (20:54 +0900)] 
Update docs for Developers API (#12082)

- .update(): add documentation for function argument support
- isDatasetVisible(): add missing method documentation with example
- getDataVisibility(): fix anchor link for toggleDataVisibility
- Static: unregister(): add example

4 weeks agoFix: display stacked bar with multiple x-Axis (#12070)
Xavier Leune [Thu, 5 Jun 2025 15:27:56 +0000 (17:27 +0200)] 
Fix: display stacked bar with multiple x-Axis (#12070)

2 months agoFix minor typo (#12068)
Lucas Leung [Fri, 25 Apr 2025 11:47:44 +0000 (07:47 -0400)] 
Fix minor typo (#12068)

2 months agoRequire 'this' when calling tick formatters (#12064)
Josh Kelley [Fri, 18 Apr 2025 11:16:34 +0000 (07:16 -0400)] 
Require 'this' when calling tick formatters (#12064)

The `numeric` and `logarithmic` tick formatters require that `this` be provided. That happens automatically if they're used directly as a tick callback but not if they're invoked manually. Failing to pass `this` results in runtime errors similar to the following:

```
TypeError: Cannot read properties of undefined (reading 'chart')
```

2 months agoAdd beforeEvent changed (#12063)
Josh Kelley [Fri, 18 Apr 2025 11:15:57 +0000 (07:15 -0400)] 
Add beforeEvent changed (#12063)

2 months agoAdd selfJoin option for doughnut graphs (#12054)
Pierre [Tue, 15 Apr 2025 13:32:13 +0000 (15:32 +0200)] 
Add selfJoin option for doughnut graphs (#12054)

Co-authored-by: Pierre Gueguen <gueguenpierre.pro@gmail.com>
2 months agofeature: make above/below colors in filler plugin work with pivoted line charts ...
FabTechAT [Tue, 15 Apr 2025 13:31:58 +0000 (15:31 +0200)] 
feature: make above/below colors in filler plugin work with pivoted line charts (#12058)

* adapted filler plugin to make above/below colors work with pivoted line charts

resolved conflicts in src/plugins/plugin.filler/filler.drawing.js

* fixed doFill; added tests

2 months agoBump version to 4.4.9 (#12062) v4.4.9
Jacco van den Berg [Tue, 15 Apr 2025 13:19:05 +0000 (15:19 +0200)] 
Bump version to 4.4.9 (#12062)

2 months agofix: respect dataset clipping area when filling line charts (#12057)
Adrian Cerbaro [Mon, 14 Apr 2025 13:41:14 +0000 (10:41 -0300)] 
fix: respect dataset clipping area when filling line charts (#12057)

* fix(plugin.filler): respect dataset clipping area when filling line charts

The filling area must respect the dataset's clipping area when clipping is enabled. Before this change, the line would be clipped according to the dataset's area but the fill would overlap other datasets.

Closes #12052

* chore(plugin.filler): use @ts-expect-error instead of @ts-ignore

4 months agoAdd docs on using from Node.js (#12039)
Josh Kelley [Tue, 25 Feb 2025 16:15:56 +0000 (11:15 -0500)] 
Add docs on using from Node.js (#12039)

This has come up a couple of times in Discord, so I thought it would be helpful to have official docs.

4 months agoUpdate docs (#12037)
Josh Kelley [Tue, 25 Feb 2025 16:15:48 +0000 (11:15 -0500)] 
Update docs (#12037)

* Update docs

Grammar and style: "TypeScript", add articles, etc.

Add docs covering the `Array[]` version of data. Please review and let me know if I've made any mistakes.

Fix an apparent mistake in the `parsing: false` description of category axes: I believe it's trying to say that _strings_ would be a mistake.

* Reword based on feedback and further testing

4 months agochore: bump to v4.4.8 (#12036) v4.4.8
Evert Timberg [Wed, 19 Feb 2025 15:37:15 +0000 (10:37 -0500)] 
chore: bump to v4.4.8 (#12036)

4 months agoExport ...ParsedData interfaces (#12035)
Josh Kelley [Tue, 18 Feb 2025 18:36:35 +0000 (13:36 -0500)] 
Export ...ParsedData interfaces (#12035)

Otherwise, trying to inherit from DatasetController in a TypeScript project may result in TypeScript errors similar to the following:

> error TS9006: Declaration emit for this file requires using private name 'RadialParsedData' from module '"/Users/joshkel/src/app/node_modules/chart.js/dist/types/index"'. An explicit type annotation may unblock declaration emit.

4 months ago[fix] Handle non-primitives in isNumber (#12034)
Josh Kelley [Sun, 16 Feb 2025 17:24:26 +0000 (12:24 -0500)] 
[fix] Handle non-primitives in isNumber (#12034)

While investigating https://github.com/chartjs/chartjs-plugin-zoom/issues/928, I found that `isNonPrimitive` will throw TypeError on a Moment.js object after it's passed through Chart.js's options proxy, because the object has its `Symbol.toPrimitive`, `toString`, and `valueOf` all set to null.

(See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#string_coercion for background reading.)

Since isNumber appears to be a low-level function that can take any arbitrary input, it seems worth letting it handle this case.

5 months agoFix helpers `Chart` type (#12012)
Josh Kelley [Thu, 30 Jan 2025 09:29:19 +0000 (04:29 -0500)] 
Fix helpers `Chart` type (#12012)

helpers.dom.ts functions referenced the internal `Chart` JavaScript class rather than the published `Chart<TType, TData, TLabel>` TypeScript definition. This causes errors when outside code tries to call helper functions.

The two `Chart` interfaces are incompatible - the `width`, `height`, and `currentDevicePixelRatio` properties are declared as readonly in the TS declaration but are manipulated by helpers.dom.ts functions, and helpers.dom.ts functions need to be invoked both by internal Chart.js code (which uses the JS class) and by outside code (which uses the TS types). To address this, I'm importing the JS version as `PrivateChart`. There may be a better solution.

It's my understanding that the comment about "typedefs are auto-exported" is obsolete now that helpers.dom is a native TS file.

Fixes #11153

5 months agoType fixes for time adapters (#12010)
Josh Kelley [Wed, 29 Jan 2025 10:32:29 +0000 (05:32 -0500)] 
Type fixes for time adapters (#12010)

Specific changes:

* `formats` is defined as an arbitrary record.  In practice, it maps from `TimeUnit` and `'datetime'` to the specific date library's format strings.
* `parse` and `format` were defined as requiring `TimeUnit`, but they actually take date library format strings.  (E.g., it's up to the caller to look up format strings via `formats()` or user parameters.)
* `endOf` is never passed `isoWeek` (`isoWeek` isn't a normal `TimeUnit`, it's only used as a special case to `startOf`), and [chartjs-adapter-date-fns](https://github.com/chartjs/chartjs-adapter-date-fns/blob/v3.0.0/src/index.js#L101) doesn't support it.
* The constructor's options parameter is optional.
* `weekday` is documented as allowing a boolean (true means to start on Monday).
* `export default { _date: DateAdapterBase }` meant that `new _date()` returns a `DateAdapterBase` instance, whose methods take no parameters.  Since it can be overridden at runtime, I replaced it with a more generic constructor + static methods.

5 months agoCorrect broken link in animations.md (#12005)
Ethan Shea [Tue, 21 Jan 2025 12:58:31 +0000 (07:58 -0500)] 
Correct broken link in animations.md (#12005)

5 months agoUpdate linear-step-size.md (#11997)
Prem [Tue, 14 Jan 2025 11:27:41 +0000 (16:57 +0530)] 
Update linear-step-size.md (#11997)

hover: {
      mode: 'index',
      intersec: false
    },

corrected the spelling of intersect.

6 months agoBugfix: Binary search wrapper returns non-existing index (#11991)
Mariss Tubelis [Sun, 5 Jan 2025 14:42:33 +0000 (15:42 +0100)] 
Bugfix: Binary search wrapper returns non-existing index (#11991)

6 months agoBugfix: return nearest non-null point on interaction when spanGaps=true (#11986)
Mariss Tubelis [Fri, 3 Jan 2025 15:50:56 +0000 (16:50 +0100)] 
Bugfix: return nearest non-null point on interaction when spanGaps=true (#11986)

* First step in fixing the bug of spanGaps null point interaction

* Complete bugfix of spanGaps null point interaction

* Add two tests in core.interaction.tests for the bugfix change

* Remove odd line break

* Use isNullOrUndef helper for point value checks

* Add 10 more test cases for nearest interaction when spanGaps=true

6 months agoBugfix: span gaps over null values beyond scale limits (#11984)
Mariss Tubelis [Fri, 3 Jan 2025 00:17:24 +0000 (01:17 +0100)] 
Bugfix: span gaps over null values beyond scale limits (#11984)

* Bugfix: spanGaps not working near min and max limits

* Fix error when meta.dataset.options = null

* Add tests for correct setting of line controller properties _drawStart and _drawCount

* Fix spacing in controller line tests

* Add tension to test

* Add a better test case

* Avoid the use of FindLastIndex

* Avoid taking 0 for null value and improve naming

7 months agoChore: bump version to 4.4.7 (#11969) v4.4.7
Jacco van den Berg [Sun, 1 Dec 2024 16:35:13 +0000 (17:35 +0100)] 
Chore: bump version to 4.4.7 (#11969)

7 months agoAdd documentation about setting default tooltip font (#11968)
Jacco van den Berg [Sun, 1 Dec 2024 09:49:55 +0000 (10:49 +0100)] 
Add documentation about setting default tooltip font (#11968)

7 months agoShow correct title in multi series pie chart example (#11962)
Jacco van den Berg [Thu, 21 Nov 2024 20:47:09 +0000 (21:47 +0100)] 
Show correct title in multi series pie chart example (#11962)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
7 months agoBump cross-spawn from 6.0.5 to 6.0.6 (#11959)
dependabot[bot] [Thu, 21 Nov 2024 19:47:57 +0000 (20:47 +0100)] 
Bump cross-spawn from 6.0.5 to 6.0.6 (#11959)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v6.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months agofix: correct typing for doughnut, pie, and polarArea charts (#11521)
DustinEwan [Mon, 18 Nov 2024 20:43:17 +0000 (14:43 -0600)] 
fix: correct typing for doughnut, pie, and polarArea charts (#11521)

* fix(#10896): correct typing for doughnut, pie, and polarArea charts

* formatting

7 months agosimplify check undefinded (#11501)
Mikhail [Mon, 18 Nov 2024 20:24:43 +0000 (22:24 +0200)] 
simplify check undefinded (#11501)

8 months agoExport TRBL from geometric (#11948)
Jacco van den Berg [Mon, 4 Nov 2024 14:10:35 +0000 (15:10 +0100)] 
Export TRBL from geometric (#11948)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
8 months agochore: version bump for 4.4.6 release (#11943) v4.4.6
Evert Timberg [Mon, 28 Oct 2024 13:36:05 +0000 (09:36 -0400)] 
chore: version bump for 4.4.6 release (#11943)

8 months agoFix: applyStack() returned the sum of all values for hidden dataset indices, which...
Nikolai Iakovlev [Thu, 24 Oct 2024 15:55:58 +0000 (18:55 +0300)] 
Fix: applyStack() returned the sum of all values for hidden dataset indices, which resulted in wrong show animations (#11938)

8 months agoFix 404 to samples in release drafter (#11933)
Jacco van den Berg [Tue, 15 Oct 2024 19:12:00 +0000 (21:12 +0200)] 
Fix 404 to samples in release drafter (#11933)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
8 months agoBump package version to 4.4.5 (#11932) v4.4.5
Jacco van den Berg [Tue, 15 Oct 2024 18:50:45 +0000 (20:50 +0200)] 
Bump package version to 4.4.5 (#11932)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
8 months agoAllow array's in backgroundColor defaults and add hover background and border color...
Jacco van den Berg [Tue, 15 Oct 2024 18:31:51 +0000 (20:31 +0200)] 
Allow array's in backgroundColor defaults and add hover background and border color to defaults  (#11931)

* Allow array as default and add extra default options

* Add test

---------

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
8 months agoFix typo in time.md (#11930)
Damien Regad [Tue, 15 Oct 2024 12:06:50 +0000 (14:06 +0200)] 
Fix typo in time.md (#11930)

8 months agoAdd check to colors plugin if defaults are set (#11927)
Jacco van den Berg [Sun, 13 Oct 2024 07:12:16 +0000 (09:12 +0200)] 
Add check to colors plugin if defaults are set (#11927)

8 months agoAvoid error if borderOpts.dash is undefined (#11907)
Moriwaki Masafumi [Sun, 13 Oct 2024 01:14:07 +0000 (10:14 +0900)] 
Avoid error if borderOpts.dash is undefined (#11907)

10 months agoBump socket.io from 4.6.1 to 4.7.5 (#11875)
dependabot[bot] [Mon, 26 Aug 2024 15:13:23 +0000 (17:13 +0200)] 
Bump socket.io from 4.6.1 to 4.7.5 (#11875)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoFix initial dataset stacks (#11882)
Jacco van den Berg [Mon, 26 Aug 2024 15:13:12 +0000 (17:13 +0200)] 
Fix initial dataset stacks (#11882)

* Update cahced _stacked value after updating stacks

* Add test

---------

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
10 months agoBump package version to 4.4.4 (#11874) v4.4.4
Jacco van den Berg [Tue, 20 Aug 2024 20:25:36 +0000 (22:25 +0200)] 
Bump package version to 4.4.4 (#11874)

10 months agoCheck if range method exists on element before executing it (#11873)
Jacco van den Berg [Tue, 20 Aug 2024 19:37:23 +0000 (21:37 +0200)] 
Check if range method exists on element before executing it (#11873)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
10 months agoAdd radial linear scale to docs section of samples (#11871)
Jacco van den Berg [Tue, 20 Aug 2024 16:11:00 +0000 (18:11 +0200)] 
Add radial linear scale to docs section of samples (#11871)

* Add radial linear scale to docs section of samples

* white space

---------

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
10 months agoReturn false from the average tooltip positioner on no valid data (#11863)
Jacco van den Berg [Sat, 17 Aug 2024 06:52:36 +0000 (08:52 +0200)] 
Return false from the average tooltip positioner on no valid data (#11863)

10 months agofix(types): exclude DeepPartial<unknown[]> from ChartOptions interface (#11867)
Artur Morys - Magiera [Fri, 16 Aug 2024 23:57:26 +0000 (01:57 +0200)] 
fix(types): exclude DeepPartial<unknown[]> from ChartOptions interface (#11867)

* fix(types): exclude DeepPartial<unknown[]> from ChartOptions interface

* refactor: format index.d.ts to comply with ESLint rules

10 months agofix(types): add xCenter and yCenter properties to RadialLinearScale interface (#11862)
Artur Morys - Magiera [Fri, 16 Aug 2024 06:25:47 +0000 (08:25 +0200)] 
fix(types): add xCenter and yCenter properties to RadialLinearScale interface (#11862)

10 months agoBugfix/issue 11804 tooltip show for all invisible (#11858)
huqingkun [Mon, 12 Aug 2024 15:56:35 +0000 (23:56 +0800)] 
Bugfix/issue 11804 tooltip show for all invisible (#11858)

* exclude 0 angle from inRange to not showing tooltip when all data are hidden

Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com>
* test 0 angle point not in arc range

---------

Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com>
10 months agofix: Unset _resizeBeforeDraw before _resize() call to avoid possible recursion (...
Dimitris-Rafail Katsampas [Thu, 8 Aug 2024 18:08:30 +0000 (21:08 +0300)] 
fix: Unset _resizeBeforeDraw before _resize() call to avoid possible recursion (#11851)

* fix: Unset _resizeBeforeDraw before _resize to avoid possible recursion

* chore: Comment update

* chore: Reverted dependency change in package json

11 months agofix issue #11717 (#11844)
huqingkun [Tue, 6 Aug 2024 15:32:26 +0000 (23:32 +0800)] 
fix issue #11717 (#11844)

* fix issue #11717

Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com>
* unit test for issue #11717

* fixing test lint style issue

* update codes according review comments

---------

Signed-off-by: Hu, Vince <Qingkun.Hu@fmr.com>
12 months agoUpdate OffscreenCanvas documentation, as it is widely available now (#11823)
Jo Liss [Sun, 30 Jun 2024 09:27:07 +0000 (10:27 +0100)] 
Update OffscreenCanvas documentation, as it is widely available now (#11823)

12 months agoRemove boxPading from legend options (#11817)
Jacco van den Berg [Wed, 26 Jun 2024 12:01:19 +0000 (14:01 +0200)] 
Remove boxPading from legend options (#11817)

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
13 months agoAdd fit method to LegendElement interface (#11796)
Michel Machado [Fri, 31 May 2024 12:43:46 +0000 (09:43 -0300)] 
Add fit method to LegendElement interface (#11796)

13 months agoFix drawing angle lines on reversed radial scale (#11788)
Jacco van den Berg [Fri, 24 May 2024 14:15:28 +0000 (16:15 +0200)] 
Fix drawing angle lines on reversed radial scale (#11788)

* Fix drawing angle lines on reversed radial scale

* add test

* Show ticks in test

---------

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
13 months agotypes: Allow passing undefined for chart options (#11780)
Jon Dufresne [Tue, 21 May 2024 13:07:35 +0000 (06:07 -0700)] 
types: Allow passing undefined for chart options (#11780)

When exactOptionalPropertyTypes, TypeScript distinguishes between the
value undefined and the property not existing. See:

https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes

For Chart.js options, this difference is not important and either
passing undefined or not including it have the same effect.

13 months agoFix some typos (#11781)
Jon Dufresne [Tue, 21 May 2024 10:10:07 +0000 (03:10 -0700)] 
Fix some typos (#11781)

13 months agoBump to 4.4.3 (#11776) v4.4.3
Jacco van den Berg [Fri, 17 May 2024 12:33:38 +0000 (14:33 +0200)] 
Bump to 4.4.3 (#11776)

13 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>
13 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>
14 months agoUpdate LICENSE.md year (#11762)
Liam Swayne [Mon, 6 May 2024 12:40:54 +0000 (08:40 -0400)] 
Update LICENSE.md year (#11762)

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

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

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

14 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

15 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

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

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

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

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

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

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

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

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

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

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

19 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

19 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.

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

19 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

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

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

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

20 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>
21 months agorevert node version (#11499)
Jacco van den Berg [Thu, 14 Sep 2023 13:41:54 +0000 (15:41 +0200)] 
revert node version (#11499)

21 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

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

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

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

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

23 months 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

23 months 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