Commit Graph

4496 Commits

Author SHA1 Message Date
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
Jacco van den Berg
072213fe15
Update pnpm lockfile (#11633) 2024-01-09 15:26:44 +01:00
Hyun-je Alex Moon
dff44828db
fix(#11615): fix calculating caretX position on stacked bar with index interaction. (#11616) 2023-12-27 07:18:14 +01:00
Jacco van den Berg
84e7238a64
Add extra calrification for html legend (#11614) 2023-12-14 22:11:26 +01:00
Jacco van den Berg
ac53fd282e
Bump 4.4.1 (#11606) 2023-12-04 20:18:19 +01:00
Jacco van den Berg
8e19199f58
Update font spec type (#11605) 2023-12-04 19:56:38 +01:00
Jacco van den Berg
5161e41bcd
Remove size limit from CI (#11599)
* Remove size limit from CI

* remove eslint ignores
2023-11-30 14:37:04 +01:00
Josh Kelley
429d99dbc2
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.
2023-11-29 14:51:56 -05:00
Kevin Read
e92d10445b
fix: Guard access to window in helpers.dom.ts for browserless rendering (#11588) 2023-11-17 16:34:20 +01:00
Jacco van den Berg
2a03e138e9
Fix backdrop padding (#11577)
* fix for alignment inner

* Add test

* Remove eslint ignores

* remove unecesarry config

* Remove text from test
2023-11-10 00:25:36 +01:00
Dimitris-Rafail Katsampas
6722512744
fix: Property platform missing from chart configuration typings (#11572) 2023-11-09 23:35:01 +01:00
Jongwoo Han
b22e46cc64
Replace deprecated command with environment file (#11570)
Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
2023-11-06 18:35:20 +01:00
Vsevolod Fedorov
06f9ffb275
fix: pass Plugin TType down to hooks chart arg (#11569) 2023-11-06 18:34:29 +01:00
Jacco van den Berg
93a5b84eb4
Fix migration docs links (#11562) 2023-10-30 08:48:10 -04:00
dependabot[bot]
7772381c0f
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>
2023-10-30 08:08:16 -04:00
Jacco van den Berg
6516b0a150
revert node version (#11499) 2023-09-14 15:41:54 +02:00
Jacco van den Berg
82ebf7653b
Update node checkout and version (#11498)
* Add min extension to umd build

* Update node checkout and runtime versions

* remove unsaved code
2023-09-14 15:20:57 +02:00
Mikhail
ca77bed318
fix: simplify check hasFunction (#11490) 2023-09-11 08:31:29 +02:00
Cazka
e74ee7b75b
allow mode to be a callback function (#11488) 2023-09-06 17:13:33 +02:00
Chocomint
44b97b8698
docs: Fix typo for documentation of plugins.tooltip.textDirection (#11483) 2023-09-04 10:13:29 +02:00
Jacco van den Berg
7ccd4a2d14
Bump 4.4.0 (#11461) 2023-08-24 08:34:45 -04:00
Mercy Bickell
a3fc84113e
fix: Add backgroundColor type on CoreScaleOptions (#11348)
* Fix: add backgroundColor type on CartesianScaleOptions

* Add instead on CoreScaleOptions

* Remove redundant backgroundColor from RadialLinearScaleOptions
2023-08-08 00:18:54 +02:00
Jacco van den Berg
4c200b2574
Replace html extension with md extension for docs (#11439)
* Replace html extension with md extension for docs

* Revert some links

* Commit saved files
2023-08-08 00:12:44 +02:00
Bogdan Korshunov
132324f5b8
BorderRadius of Bar Chart issue on Firefox 116 (#11435)
Co-authored-by: bogdankorshunov <korshunov.oren@gmail.com>
2023-08-07 20:16:32 +02:00
stockiNail
79f1a0a9e8
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
2023-08-07 20:16:20 +02:00
Evert Timberg
095a9849f4
chore: bump to v4.3.3 (#11433) 2023-08-02 19:11:12 -04:00
stockiNail
a102ca515b
Revert fix for monotone cubic interpolation (#11432) 2023-08-02 10:42:29 -04:00
dependabot[bot]
ef5fa53946
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>
2023-07-31 08:11:26 -04:00
Jacco van den Berg
c2feec5c31
Bump 4.3.2 (#11423) 2023-07-26 17:31:08 +02:00
stockiNail
bda2ae7c4f
Revert feature to disable plugins by TS (#11422) 2023-07-26 08:59:42 -04:00
Josh Kelley
dd03016ba1
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
2023-07-25 18:39:25 -04:00
Jacco van den Berg
e7b8164fcc
Bump 4.3.1 (#11417) 2023-07-24 21:40:34 +02:00
stockiNail
f287be491c
Add missing feature for disabling plugins in TyeScript (#11403)
* Add  missing feature for disabling plugins in TyeScript

* apply review

* remove empty line
2023-07-24 15:39:38 -04:00
stockiNail
cc7ee8ade1
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
2023-07-24 19:58:23 +02:00
stockiNail
05608b0ceb
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
2023-07-13 16:36:08 -04:00
skopz356
c392a7cc8c
Fix type of tickBorderDash in GridLineOptions (#11396) 2023-07-11 14:32:10 -04:00
Evert Timberg
a173943e55
Split the TimeScaleOptions type into composable sub types (#11187) 2023-07-05 08:54:28 -04:00
Evert Timberg
f2cfb933b9
fix: add pointStyleWidth to type definitions (#11383) 2023-07-01 08:51:53 -04:00
stockiNail
57bbd8229d
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
2023-06-20 18:20:12 +02:00
Jacco van den Berg
1c2dd6898e
Add beforeDraw to drawtime type (#11358) 2023-06-20 18:16:50 +02:00
stockiNail
b42f9d127d
Add events property to Plugin defined type (#11350) 2023-06-20 18:16:37 +02:00
Jacco van den Berg
201ddffa1d
Add text stoke radial linear scale (#11346) 2023-06-13 23:31:17 +02:00
Jacco van den Berg
992d9322f0
Clarify update docs (#11345) 2023-06-13 18:24:13 +02:00
stockiNail
ec7be48470
Fix toggling showLine option on scatter controller (#11334) 2023-06-08 08:53:50 -04:00