Commit Graph

4431 Commits

Author SHA1 Message Date
Jacco van den Berg
cc1fcb0e93
Add version specific urls to release template (#11240) 2023-04-20 17:49:30 +02:00
stockiNail
5ee0ff1b97
Border is counted as part of ArcElement (#11180)
* Border is counted as part of ArcElement

* improve calculation
2023-04-19 18:22:40 -04:00
Roman Shtylman
b16f32afca
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>
2023-04-19 18:22:25 -04:00
Tim Gates
b34e273880
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>
2023-04-02 07:58:40 -04:00
Jacco van den Berg
f3d4aa4264
Update size limits (#11212) 2023-03-29 20:37:43 +02:00
Utku Demir
f11505fc03
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 32dacab669.

* chore: refresh lockfile with pnpm@7.9.0
2023-03-29 11:00:29 -04:00
Dan Onoshko
c0bf05f87d
refactor: rewrite config helpers to ts (#11121)
* refactor: rewrite config helpers to ts

* refactor: review fixes
2023-03-21 16:03:15 -04:00
Jacco van den Berg
8fdf76f8f0
Add colors plugin to size limit (#11174)
* Add colors plugin to size limit

* Increase size limit
2023-03-01 18:46:01 -05:00
stockiNail
2f8ab1cba9
Disable canvas acceleration in Firefox 110 in test cases (#11165) 2023-02-26 14:19:44 +02:00
Hubert Olender
287394e5e3 Update tooltip.md (#11154)
* Update tooltip.md

Add missing `'`

* Update tooltip.md

Improve textDirection text
2023-02-23 08:05:50 -05:00
Jacco van den Berg
6cc429ddde
Specify node version for CI (#11160)
* specify node version

* Spam to run CI

* Remove docs update, specify node version at other places
2023-02-22 18:42:18 -05:00
stockiNail
82aca7852f
Use custom scale defaults and dataset axis ID options to determine the axis (#11134)
Use custom scale defaults to determine the axis
2023-02-15 09:27:13 -05:00
Dan Onoshko
1324672637
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
2023-02-15 09:26:49 -05:00
Mikhail
22c6906bbe
Simplify _arrayUnique (#11145) 2023-02-15 09:20:29 -05:00
leo2436
120b72eaae
Docs: fix tooltip model doc. (#11143)
Co-authored-by: Leo Chen <liang.chen@thoughtworks.com>
2023-02-15 08:13:24 -05:00
stockiNail
7f9bca6844
Add borderDash options to arc element (#11127) 2023-02-12 17:46:05 -05:00
leo2436
6cf9de9681
Change labelColors to labelColor in tooltip drawColorBox method. (#11135)
Co-authored-by: Leo Chen <liang.chen@thoughtworks.com>
2023-02-12 14:15:07 -05:00
CodingMarco
e417c60c22
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)
2023-02-10 07:57:58 -05:00
Shahab HM
2481547ef8
fix RTL tooltip colorBox placement (#11061)
* fix RTL tooltip colorBox placement #10771

* fix lint problem
2023-02-10 07:57:24 -05:00
Evert Timberg
cfefb3d47f
Bump to 4.2.1 (#11130) 2023-02-10 07:33:01 +01:00
Johannes Kronmüller
207fe8f66e
fix: decimation plugin data not writeable after clean (#11045) 2023-02-10 07:45:43 +02:00
stockiNail
8dfcf1c443
Use maxTicksLimit option to calculate the labels size on ticks (#11069)
* Use maxTicksLimit option to calculate the labels size on ticks

* apply review
2023-02-09 09:26:11 -05:00
stockiNail
1db46efa5f
Remove unused property from arc element for center calculation (#11124) 2023-02-08 18:01:11 -05:00
Dan Onoshko
6cb10dc895
chore: #10963 revert (#11102) 2023-02-07 11:51:48 -05:00
Jacco van den Berg
d20b59fb03
Add colors plugin TS options to be configured (#11115) 2023-02-07 08:19:00 -05:00
Jacco van den Berg
23e8f7d378
Update link to new template (#11113) 2023-02-03 08:28:17 +01:00
Jacco van den Berg
916aa6e1ab
Remove override warning tooltips (#11110) 2023-02-02 14:50:11 +01:00
Yujin Choi
1684cf7dbf
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>
2023-01-30 18:23:08 -05:00
Jean-Louis Jouannic
b967d71c87
🐛 fixes compilation error when option --isolatedModules is set (#11095)
* 🐛 fixes compilation error when option --isolatedModules is set

* ♻️ preserve UpdateModeEnum to prevent breaking change
2023-01-28 09:19:02 -05:00
Jacco van den Berg
43abacbae5
Remove meetup banner (#11093) 2023-01-27 13:01:12 -05:00
Yury Shevchenko
cfe8e0311b
Fix documentation typo (#11077) 2023-01-20 05:06:19 +02:00
Igor Lukanin
1d7dfadbad
Bump to 4.2.0 (#11070) 2023-01-18 08:35:00 -05:00
stockiNail
e8d9fb579e
Add format method to time scale to format timestamp using scale options (#11063) 2023-01-18 08:27:52 -05:00
stockiNail
997eab46ac
Change 'normal' update mode to 'default' as documented (#11017) 2023-01-18 08:27:47 -05:00
stockiNail
ab55f6c976
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>
2023-01-18 13:31:33 +01:00
Igor Lukanin
97bc329d72
Add banner (#11058) 2023-01-13 09:33:57 -05:00
Igor Lukanin
073a97e3ee
Update banner (#11057)
* Update banner

* Update

* Add width
2023-01-13 09:33:43 -05:00
stockiNail
4cd68535d7
Remove console.warn from a test case where not needed (#11056) 2023-01-13 09:33:34 -05:00
Michiel Lankamp
0e189dd554
fix: updated type for doughnut offset (#11051) 2023-01-13 10:06:33 +02:00
stockiNail
be049a3296
Add pointLabel context type documentation (#11054) 2023-01-13 10:05:19 +02:00
Andrew Kane
b2b881b9b1
Specify module for Webpack 4 (#11037) 2023-01-10 12:01:59 -05:00
Igor Lukanin
300e2119d8
chore: Add Chart.js meetup announcement to README (#11043) 2023-01-10 12:00:01 -05:00
Dan Onoshko
b51c523366
chore: version bump (#11034) 2023-01-05 17:00:35 +01:00
Dan Onoshko
2cde2bf41d
fix: package.json fields fixes for old jest-resolver versions (#11033) 2023-01-05 10:28:07 -05:00
Dan Onoshko
fd505acced
fix: fix Plugin interface (#11016) 2022-12-22 16:17:28 -05:00
Jacco van den Berg
237a893415
Add Z index to border options (#11008) 2022-12-20 12:23:16 -05:00
Jacco van den Berg
9bc0f76c40
Update link to UMD bundle for master (#11004) 2022-12-20 16:42:29 +01:00
Matvey Kottsov
9440dc3679
fix: missing markdown link in docs (#11006) 2022-12-20 16:27:33 +02:00
Dan Onoshko
da348044f7
chore: replace cp with js code (#11000) 2022-12-19 09:39:23 +01:00
Evert Timberg
810ceb7741
Bump to 4.1.1 (#10997) 2022-12-17 11:06:49 -05:00