]>
git.ipfire.org Git - thirdparty/Chart.js.git/log
Chocomint [Mon, 4 Sep 2023 08:13:29 +0000 (17:13 +0900)]
docs: Fix typo for documentation of plugins.tooltip.textDirection (#11483)
Jacco van den Berg [Thu, 24 Aug 2023 12:34:45 +0000 (14:34 +0200)]
Bump 4.4.0 (#11461)
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
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
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>
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
Evert Timberg [Wed, 2 Aug 2023 23:11:12 +0000 (19:11 -0400)]
chore: bump to v4.3.3 (#11433)
stockiNail [Wed, 2 Aug 2023 14:42:29 +0000 (16:42 +0200)]
Revert fix for monotone cubic interpolation (#11432)
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>
Jacco van den Berg [Wed, 26 Jul 2023 15:31:08 +0000 (17:31 +0200)]
Bump 4.3.2 (#11423)
stockiNail [Wed, 26 Jul 2023 12:59:42 +0000 (14:59 +0200)]
Revert feature to disable plugins by TS (#11422)
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
Jacco van den Berg [Mon, 24 Jul 2023 19:40:34 +0000 (21:40 +0200)]
Bump 4.3.1 (#11417)
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
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
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
skopz356 [Tue, 11 Jul 2023 18:32:10 +0000 (20:32 +0200)]
Fix type of tickBorderDash in GridLineOptions (#11396)
Evert Timberg [Wed, 5 Jul 2023 12:54:28 +0000 (08:54 -0400)]
Split the TimeScaleOptions type into composable sub types (#11187)
Evert Timberg [Sat, 1 Jul 2023 12:51:53 +0000 (08:51 -0400)]
fix: add pointStyleWidth to type definitions (#11383)
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
Jacco van den Berg [Tue, 20 Jun 2023 16:16:50 +0000 (18:16 +0200)]
Add `beforeDraw` to drawtime type (#11358)
stockiNail [Tue, 20 Jun 2023 16:16:37 +0000 (18:16 +0200)]
Add events property to Plugin defined type (#11350)
Jacco van den Berg [Tue, 13 Jun 2023 21:31:17 +0000 (23:31 +0200)]
Add text stoke radial linear scale (#11346)
Jacco van den Berg [Tue, 13 Jun 2023 16:24:13 +0000 (18:24 +0200)]
Clarify update docs (#11345)
stockiNail [Thu, 8 Jun 2023 12:53:50 +0000 (14:53 +0200)]
Fix toggling showLine option on scatter controller (#11334)
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.
Muhammad Khalikov [Mon, 5 Jun 2023 07:56:56 +0000 (03:56 -0400)]
Refined grammar and updated overall .md documentation files (#11324)
Matt Hegarty [Sun, 4 Jun 2023 22:43:02 +0000 (23:43 +0100)]
minor correction of documentation for 'Grace' (#11322)
Jacco van den Berg [Wed, 31 May 2023 18:02:58 +0000 (20:02 +0200)]
Switch to discord (#11318)
stockiNail [Thu, 25 May 2023 13:12:28 +0000 (15:12 +0200)]
Export explicitly the plugin options definition which is augmented (#11309)
Jacco van den Berg [Fri, 19 May 2023 23:09:25 +0000 (01:09 +0200)]
Update slack link (#11301)
* Update slack link
* Fix build
Muhammad Khalikov [Fri, 19 May 2023 22:58:39 +0000 (18:58 -0400)]
Correct tooltip dates displaying incorrectly reported in #11229 (#11284)
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)
Jacco van den Berg [Fri, 19 May 2023 22:40:37 +0000 (00:40 +0200)]
Update size limits (#11302)
Evert Timberg [Fri, 28 Apr 2023 05:18:20 +0000 (01:18 -0400)]
Bump to 4.3.0 (#11257)
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
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
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
stockiNail [Thu, 20 Apr 2023 15:50:22 +0000 (17:50 +0200)]
Fix 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)
Jacco van den Berg [Thu, 20 Apr 2023 15:49:30 +0000 (17:49 +0200)]
Add version specific urls to release template (#11240)
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
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>
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>
Jacco van den Berg [Wed, 29 Mar 2023 18:37:43 +0000 (20:37 +0200)]
Update size limits (#11212)
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
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
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
stockiNail [Sun, 26 Feb 2023 12:19:44 +0000 (13:19 +0100)]
Disable canvas acceleration in Firefox 110 in test cases (#11165)
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
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
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
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
Mikhail [Wed, 15 Feb 2023 14:20:29 +0000 (16:20 +0200)]
Simplify _arrayUnique (#11145)
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>
stockiNail [Sun, 12 Feb 2023 22:46:05 +0000 (23:46 +0100)]
Add borderDash options to arc element (#11127)
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>
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)
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
Evert Timberg [Fri, 10 Feb 2023 06:33:01 +0000 (01:33 -0500)]
Bump to 4.2.1 (#11130)
Johannes Kronmüller [Fri, 10 Feb 2023 05:45:43 +0000 (06:45 +0100)]
fix: decimation plugin data not writeable after clean (#11045)
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
stockiNail [Wed, 8 Feb 2023 23:01:11 +0000 (00:01 +0100)]
Remove unused property from arc element for center calculation (#11124)
Dan Onoshko [Tue, 7 Feb 2023 16:51:48 +0000 (23:51 +0700)]
chore: #10963 revert (#11102)
Jacco van den Berg [Tue, 7 Feb 2023 13:19:00 +0000 (14:19 +0100)]
Add colors plugin TS options to be configured (#11115)
Jacco van den Berg [Fri, 3 Feb 2023 07:28:17 +0000 (08:28 +0100)]
Update link to new template (#11113)
Jacco van den Berg [Thu, 2 Feb 2023 13:50:11 +0000 (14:50 +0100)]
Remove override warning tooltips (#11110)
Yujin Choi [Mon, 30 Jan 2023 23:23:08 +0000 (08:23 +0900)]
fix: add bgColor type in RadialLinearScaleOptions (#11081)
* fix: add bgColor type in RadialLinearScaleOptions
* Update src/types/index.d.ts
remove trailing space
---------
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Jean-Louis Jouannic [Sat, 28 Jan 2023 14:19:02 +0000 (15:19 +0100)]
🐛 fixes compilation error when option --isolatedModules is set (#11095)
* 🐛 fixes compilation error when option --isolatedModules is set
* ♻️ preserve UpdateModeEnum to prevent breaking change
Jacco van den Berg [Fri, 27 Jan 2023 18:01:12 +0000 (19:01 +0100)]
Remove meetup banner (#11093)
Yury Shevchenko [Fri, 20 Jan 2023 03:06:19 +0000 (19:06 -0800)]
Fix documentation typo (#11077)
Igor Lukanin [Wed, 18 Jan 2023 13:35:00 +0000 (17:35 +0400)]
Bump to 4.2.0 (#11070)
stockiNail [Wed, 18 Jan 2023 13:27:52 +0000 (14:27 +0100)]
Add format method to time scale to format timestamp using scale options (#11063)
stockiNail [Wed, 18 Jan 2023 13:27:47 +0000 (14:27 +0100)]
Change 'normal' update mode to 'default' as documented (#11017)
stockiNail [Wed, 18 Jan 2023 12:31:33 +0000 (13:31 +0100)]
Check colors definition in the chart options (#11003)
* Check colors definition in the chart options
* Update src/plugins/plugin.colors.ts
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
* Update src/plugins/plugin.colors.ts
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
* Update src/plugins/plugin.colors.ts
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
* apply review
Co-authored-by: Dan Onoshko <danon0404@gmail.com>
Igor Lukanin [Fri, 13 Jan 2023 14:33:57 +0000 (18:33 +0400)]
Add banner (#11058)
Igor Lukanin [Fri, 13 Jan 2023 14:33:43 +0000 (18:33 +0400)]
Update banner (#11057)
* Update banner
* Update
* Add width
stockiNail [Fri, 13 Jan 2023 14:33:34 +0000 (15:33 +0100)]
Remove console.warn from a test case where not needed (#11056)
Michiel Lankamp [Fri, 13 Jan 2023 08:06:33 +0000 (09:06 +0100)]
fix: updated type for doughnut offset (#11051)
stockiNail [Fri, 13 Jan 2023 08:05:19 +0000 (09:05 +0100)]
Add pointLabel context type documentation (#11054)
Andrew Kane [Tue, 10 Jan 2023 17:01:59 +0000 (09:01 -0800)]
Specify module for Webpack 4 (#11037)
Igor Lukanin [Tue, 10 Jan 2023 17:00:01 +0000 (21:00 +0400)]
chore: Add Chart.js meetup announcement to README (#11043)
Dan Onoshko [Thu, 5 Jan 2023 16:00:35 +0000 (20:00 +0400)]
chore: version bump (#11034)
Dan Onoshko [Thu, 5 Jan 2023 15:28:07 +0000 (19:28 +0400)]
fix: package.json fields fixes for old jest-resolver versions (#11033)
Dan Onoshko [Thu, 22 Dec 2022 21:17:28 +0000 (01:17 +0400)]
fix: fix Plugin interface (#11016)
Jacco van den Berg [Tue, 20 Dec 2022 17:23:16 +0000 (18:23 +0100)]
Add Z index to border options (#11008)
Jacco van den Berg [Tue, 20 Dec 2022 15:42:29 +0000 (16:42 +0100)]
Update link to UMD bundle for master (#11004)
Matvey Kottsov [Tue, 20 Dec 2022 14:27:33 +0000 (17:27 +0300)]
fix: missing markdown link in docs (#11006)
Dan Onoshko [Mon, 19 Dec 2022 08:39:23 +0000 (12:39 +0400)]
chore: replace cp with js code (#11000)
Evert Timberg [Sat, 17 Dec 2022 16:06:49 +0000 (11:06 -0500)]
Bump to 4.1.1 (#10997)
Guy B [Sat, 17 Dec 2022 14:41:21 +0000 (09:41 -0500)]
fix: avoid resize loop when browser zoom is set to 90% (#10971)
* test: new test to reproduce issue #10951
* test: validate the canvas style too
* fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas.
* Revert "fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas."
This reverts commit
ed7a34814dd01f57eabc2379fc7187b9a41c8732 .
* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.
* fix: getMaximumSize was flooring non-integer height values unnecessarily.
* Revert "fix: Avoid the resize loop by fixing the rounding error in the retinaScale function."
This reverts commit
23525abc6aadc9880f841ff58dbd4a4ea0b14e88 .
* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.
Dan Onoshko [Fri, 16 Dec 2022 12:56:06 +0000 (16:56 +0400)]
fix: move types to src dir to escape src / dist dirs in paths (#10993)
Dan Onoshko [Fri, 16 Dec 2022 12:53:27 +0000 (16:53 +0400)]
fix: hotfix chart.js/auto for commonjs (#10992)
* fix: hotfix chart.js/auto for commonjs
* fix: add auto.cjs to side effects
Igor Lukanin [Fri, 16 Dec 2022 12:52:36 +0000 (16:52 +0400)]
Revert "chore: Add Product Hunt button (temporarily) (#10980)" (#10988)
This reverts commit
2810bbc6fa605e1eedf27486f0443841772446ae .
Igor Lukanin [Fri, 16 Dec 2022 08:55:49 +0000 (12:55 +0400)]
fix (#10990)
Dan Onoshko [Fri, 16 Dec 2022 06:36:14 +0000 (10:36 +0400)]
add getLabelItems public method (#10966)
Dan Onoshko [Fri, 16 Dec 2022 00:27:12 +0000 (04:27 +0400)]
fix: unbind instance config from chart type (#10963)
Dan Onoshko [Thu, 15 Dec 2022 23:11:11 +0000 (03:11 +0400)]
feat: restore commonjs bundle (#10984)
Dan Onoshko [Thu, 15 Dec 2022 23:09:14 +0000 (03:09 +0400)]
fix: turn on types linting (#10962)
Jacco van den Berg [Thu, 15 Dec 2022 17:48:31 +0000 (18:48 +0100)]
bunp version to 4.1.0 (#10983)