Commit Graph

4504 Commits

Author SHA1 Message Date
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
Guy B
9306d7fd49
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 ed7a34814d.

* 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 23525abc6a.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.
2022-12-17 09:41:21 -05:00
Dan Onoshko
64a027874c
fix: move types to src dir to escape src / dist dirs in paths (#10993) 2022-12-16 07:56:06 -05:00
Dan Onoshko
bc84a98ec6
fix: hotfix chart.js/auto for commonjs (#10992)
* fix: hotfix chart.js/auto for commonjs

* fix: add auto.cjs to side effects
2022-12-16 07:53:27 -05:00
Igor Lukanin
26f711df81
Revert "chore: Add Product Hunt button (temporarily) (#10980)" (#10988)
This reverts commit 2810bbc6fa.
2022-12-16 07:52:36 -05:00
Igor Lukanin
1fddec40ec
fix (#10990) 2022-12-16 10:55:49 +02:00
Dan Onoshko
ae264e14e7
add getLabelItems public method (#10966) 2022-12-16 07:36:14 +01:00
Dan Onoshko
38bf550558
fix: unbind instance config from chart type (#10963) 2022-12-15 19:27:12 -05:00
Dan Onoshko
35fd6204b9
feat: restore commonjs bundle (#10984) 2022-12-16 01:11:11 +02:00
Dan Onoshko
185bb97d2e
fix: turn on types linting (#10962) 2022-12-16 01:09:14 +02:00
Jacco van den Berg
9d51e99e80
bunp version to 4.1.0 (#10983) 2022-12-15 18:48:31 +01:00
Igor Lukanin
2810bbc6fa
chore: Add Product Hunt button (temporarily) (#10980) 2022-12-15 07:52:12 -05:00
Igor Lukanin
acfb981ba3
Update Slack link (#10976) 2022-12-14 23:33:39 +01:00
Simon He
c9f55ccf19
chore: add lint cache (#10974)
* chore: add lint cache

* chore: update

* chore: update
2022-12-14 16:24:43 -05:00
Jacco van den Berg
41f8128c2b
Allow dynamic datasets to be colored (#10964)
* Allow dynamic datasets to be colored

* revieuw
2022-12-14 21:43:41 +01:00
Erencan Taşbaş
532c1409a4
Broken link is fixed. (#10965) 2022-12-13 11:46:10 +01:00
Jacco van den Berg
c4fbd5fc3e
Update auto import in usage docs (#10955) 2022-12-10 14:39:11 +01:00
Evert Timberg
b491554995
Ensure that args are saved inside of the throttled helper (#10942)
* Ensure that args are saved inside of the throttled helper

* Capture args in outer scope

* Simplify capture
2022-12-10 08:21:41 -05:00
Jacco van den Berg
a14f6cc1d1
update-react-to-v4 (#10930) 2022-12-09 09:11:13 -05:00
Dan Onoshko
8283ad5867
fix: move @kurkle/color to dependencies (#10917)
fixes #10915
2022-11-30 09:31:43 -05:00
Jacco van den Berg
8239567802
Allow color plugin to work with custom dataset controllers (#10904) 2022-11-25 15:03:49 +01:00
Jacco van den Berg
5fdc0f71af
Use UDM build for reproducible sample (#10919) 2022-11-25 08:03:51 -05:00
Dan Onoshko
80a931ebd3
docs: add info about ESM into migration guide. (#10903) 2022-11-25 12:31:14 +02:00
stockiNail
784216130a
Add stepSize option to time scale options types (#10910) 2022-11-24 07:47:17 -05:00
Kit PANG
667b28beca
fix: respect minBarLength in stacked bar chart (#10766) 2022-11-22 20:21:02 -05:00
stockiNail
36fb08c946
Sets the transition mode to the context for scriptable options (#10898) 2022-11-21 14:00:51 -05:00
Dan Onoshko
22f0dfe9a7
feat: colors for mixed charts (#10870) 2022-11-18 13:15:08 -05:00
Jacco van den Berg
9a9ff6fdbd
Pointstyle false (#10886)
* fix-#10755

* none to false

* str to bool

* str to bool

* 10/10

* fix test

Co-authored-by: puneetkathar1 <puneetkathar1@gmail.com>
Co-authored-by: Puneet Kathar <73285338+puneetkathar1@users.noreply.github.com>
2022-11-18 13:14:47 -05:00