4539 Commits

Author SHA1 Message Date
Jacco van den Berg
4d034a0275
Add documentation about setting default tooltip font (#11968) 2024-12-01 10:49:55 +01:00
Jacco van den Berg
79773b7243
Show correct title in multi series pie chart example (#11962)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
2024-11-21 21:47:09 +01:00
dependabot[bot]
36d992027c
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>
2024-11-21 20:47:57 +01:00
DustinEwan
3a515d08e8
fix: correct typing for doughnut, pie, and polarArea charts (#11521)
* fix(#10896): correct typing for doughnut, pie, and polarArea charts

* formatting
2024-11-18 15:43:17 -05:00
Mikhail
49256c6149
simplify check undefinded (#11501) 2024-11-18 15:24:43 -05:00
Jacco van den Berg
bb82c8f549
Export TRBL from geometric (#11948)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
2024-11-04 15:10:35 +01:00
Evert Timberg
47245a7f36
chore: version bump for 4.4.6 release (#11943) v4.4.6 2024-10-28 14:36:05 +01:00
Nikolai Iakovlev
6dd448b933
Fix: applyStack() returned the sum of all values for hidden dataset indices, which resulted in wrong show animations (#11938) 2024-10-24 11:55:58 -04:00
Jacco van den Berg
bb5ca384a3
Fix 404 to samples in release drafter (#11933)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
2024-10-15 21:12:00 +02:00
Jacco van den Berg
7af71f5077
Bump package version to 4.4.5 (#11932)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
v4.4.5
2024-10-15 20:50:45 +02:00
Jacco van den Berg
03d1d5caa2
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>
2024-10-15 20:31:51 +02:00
Damien Regad
22a0ba9709
Fix typo in time.md (#11930) 2024-10-15 08:06:50 -04:00
Jacco van den Berg
3f2968cb41
Add check to colors plugin if defaults are set (#11927) 2024-10-13 09:12:16 +02:00
Moriwaki Masafumi
5d2dfbe68d
Avoid error if borderOpts.dash is undefined (#11907) 2024-10-12 21:14:07 -04:00
dependabot[bot]
ea88dba68d
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>
2024-08-26 17:13:23 +02:00
Jacco van den Berg
680cd227d4
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>
2024-08-26 17:13:12 +02:00
Jacco van den Berg
dd554e0d87
Bump package version to 4.4.4 (#11874) v4.4.4 2024-08-20 22:25:36 +02:00
Jacco van den Berg
2fa724110a
Check if range method exists on element before executing it (#11873)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
2024-08-20 21:37:23 +02:00
Jacco van den Berg
a1f7355ab8
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>
2024-08-20 18:11:00 +02:00
Jacco van den Berg
3dac05ed00
Return false from the average tooltip positioner on no valid data (#11863) 2024-08-17 08:52:36 +02:00
Artur Morys - Magiera
b51b57aca4
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
2024-08-16 19:57:26 -04:00
Artur Morys - Magiera
74122c1b0f
fix(types): add xCenter and yCenter properties to RadialLinearScale interface (#11862) 2024-08-16 08:25:47 +02:00
huqingkun
b9c01414ba
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>
2024-08-12 11:56:35 -04:00
Dimitris-Rafail Katsampas
f3f84fd624
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
2024-08-08 20:08:30 +02:00
huqingkun
147ee593ba
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>
2024-08-06 17:32:26 +02:00
Jo Liss
0ca1b6ef85
Update OffscreenCanvas documentation, as it is widely available now (#11823) 2024-06-30 11:27:07 +02:00
Jacco van den Berg
19c02c8a25
Remove boxPading from legend options (#11817)
Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
2024-06-26 14:01:19 +02:00
Michel Machado
4ee6c9e279
Add fit method to LegendElement interface (#11796) 2024-05-31 08:43:46 -04:00
Jacco van den Berg
ff740789a5
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>
2024-05-24 16:15:28 +02:00
Jon Dufresne
228a485603
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.
2024-05-21 09:07:35 -04:00
Jon Dufresne
5c9e5c66d2
Fix some typos (#11781) 2024-05-21 12:10:07 +02:00
Jacco van den Berg
3d08012992
Bump to 4.4.3 (#11776) v4.4.3 2024-05-17 14:33:38 +02:00
Arun Philip
e7b8fa290f
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>
2024-05-17 08:16:58 -04:00
dependabot[bot]
ca76d73149
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>
2024-05-13 08:29:49 -04:00
Liam Swayne
334fdf7968
Update LICENSE.md year (#11762) 2024-05-06 08:40:54 -04:00
dependabot[bot]
ec927ee085
Bump follow-redirects from 1.15.4 to 1.15.6 (#11720) 2024-04-29 06:42:20 +02:00
EricWittrock
f785882aeb
Fix error when object prototype is frozen (#11754) 2024-04-29 06:42:05 +02:00
EricWittrock
6daf4ba4e3
#11450 hide bar by dataindex (#11755) 2024-04-29 06:36:56 +02:00
Jacco van den Berg
8c004a1c42
Create parsed object with correct keys (#11690)
* Create parsed object with correct keys

* Add test
2024-04-28 20:37:29 -04:00
Arun Philip
1777f959e5
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
2024-03-11 09:57:07 +01:00
Jacco van den Berg
7736ea32da
Bump to 4.4.2 (#11689) v4.4.2 2024-02-28 17:43:58 +01:00
Arun Philip
bbdaa6a14b
addListener and removeListener are only invoked on defined (and valid) values (#11685) 2024-02-28 10:55:52 -05:00
Megaemce
4068bd8c47
fix #11503, autoskipping 0 ticks when min is below 0 (#11682) 2024-02-24 20:30:35 +01:00
mirumi
ef5e4d4692
docs(types): fix description in index.d.ts (#11674) 2024-02-18 13:31:37 +01:00
dependabot[bot]
bfce645fd3
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>
2024-02-12 08:50:16 -05:00
waszkiewiczja
caa56ce87d
changed r to optional in BubbleDataPoint (#11662) 2024-02-12 08:49:57 -05:00
dependabot[bot]
aca90172f4
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>
2024-02-06 10:06:54 -05:00
dependabot[bot]
df7f1c284b
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>
2024-02-04 19:43:48 +01:00
dependabot[bot]
767d64e7a9
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>
2024-01-09 11:24:51 -05:00
dependabot[bot]
fcdecf1720
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>
2024-01-09 11:24:43 -05:00