Dominic Jean
0edb2ac604
enable pointStyleWidth for all legend style ( #10639 )
2022-09-01 06:37:12 -04:00
Alex
eee1bf257b
Update release.yml ( #10642 )
2022-08-31 09:54:21 -04:00
Evert Timberg
b95ba3d5c3
Convert the easing helpers to typescript ( #10627 )
...
Co-authored-by: Chart.js <>
2022-08-31 09:53:54 -04:00
Jacco van den Berg
818b933c92
Bump markdown-it in docs ( #10632 )
...
* bump dep
* regenerate lock with new pnpm
2022-08-31 16:46:23 +03:00
Jacco van den Berg
08a5c572e8
Update link to master umd build ( #10645 )
2022-08-31 08:24:21 +02:00
Devesh Pal
74f50df250
Fix broken link ( #10640 )
2022-08-29 17:02:08 -04:00
Dan Onoshko
f957aad352
docs: fix images loading ( #10621 )
...
* docs: fix images loading
* docs: temporary restore configureWebpack
* docs: rm html-webpack-plugin
2022-08-23 15:30:03 +02:00
Jukka Kurkela
1d6b8cc047
Document components for bundle optimization ( #10569 )
...
* Update integration.md
* Update integration.md
* Fix typo
* Another typo
* Update docs/getting-started/integration.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update docs/getting-started/integration.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* review update
* version
Co-authored-by: Rich Lott <artfulrobot@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-08-23 08:41:20 +03:00
Jacco van den Berg
432d1e6a60
move option to correct namespace ( #10613 )
...
* move option to correct namespace
* change plugin name from snake_case to camelCase
2022-08-22 22:44:04 +02:00
Jacco van den Berg
b0a06d1652
fix filter paramater in package.json ( #10614 )
2022-08-22 23:30:29 +03:00
Jacco van den Berg
3c33d87dd2
Remove tooltip constructor fallbacks, this.chart and this._chart ( #10612 )
...
* remove tooltip fallbacks/backwards compatability in constructor
* increase size limit
2022-08-22 21:17:40 +02:00
Jacco van den Berg
fc8a63e26b
fix lint in docs ( #10611 )
2022-08-22 21:00:26 +02:00
Ben McCann
9258f250b6
Switch to pnpm ( #10576 )
2022-08-22 20:42:43 +02:00
Jacco van den Berg
96633cc0f6
Documentation: how to add static typing to plugins ( #10607 )
...
* Add documentation on how to add static typing to plugins
* make the options optional
* Fix syntax
2022-08-22 21:20:35 +03:00
Jukka Kurkela
3b76488373
Refine logarithmic scaling / tick generation ( #9166 )
...
* Refine logarithmic scaling / tick generation
* Disable autoSkip on reverese test
* Reduce ticks, fix min
2022-08-22 14:05:27 -04:00
Dan Onoshko
2031cdf051
Preparing the project for TypeScript ( #10595 )
...
* Add Typescript to the build
* Converts the `helpers.core` to Typescript as an example
* Converts the `core.element` to Typescript
2022-08-22 11:58:57 -04:00
Grant Hynd
75793eb86f
fix: allow beforeTooltipDraw to be cancelable ( #10598 )
2022-08-22 17:33:02 +02:00
Jon Dufresne
eaee1ad63b
Use the element's window in getComputedstyle ( #10608 )
2022-08-22 17:29:36 +02:00
Jacco van den Berg
3eb947719e
Put the border opts in own object ( #10571 )
...
* put borderOpts in own object
* document z option
* remove todo and change scaleId to id
* update some tests
* clean bit, remove console log
* fix failing test
* lint
* Remove comment
2022-08-18 15:07:46 +02:00
Jacco van den Berg
49b16c9678
Change react integration test to TS ( #10605 )
...
* switch to ts
* change web integration test to TS
* remove space
* lint things
* one more lint
* Add spaces
2022-08-18 08:42:40 -04:00
Dan Onoshko
e7372ade24
fix: same-looking tooltips on charts ( #10548 )
...
* fix: same-looking tooltips on multiseries charts
* fix: same-looknig tooltips on all chart types
* chore: restore tooltip plugin
* docs: additions to migration guide
* docs: remove labels from scatter and bubble examples
* docs: review fix
2022-08-18 07:34:35 -04:00
Jacco van den Berg
d09e424a0a
Use borderRadius for legend and remove fallbacks ( #10551 )
...
* Use borderRadius for legend
* re enable test
* fix lint
* add note in migration guide
* Update types/index.d.ts
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2022-08-18 07:34:18 -04:00
Jacco van den Berg
dad1e98c5a
Allow animations to be set to false for the tooltip ( #10582 )
2022-08-18 07:33:42 -04:00
Jacco van den Berg
c74260b745
change way that linear scales calculate min and max ( #10591 )
2022-08-18 07:33:15 -04:00
Jacco van den Berg
bd29fcbf67
type grouped option for bar chart ( #10590 )
2022-08-18 09:16:13 +03:00
Jacco van den Berg
d9203719f6
add correct padding object to type ( #10585 )
...
* add correct padding object to type
* Apply suggestions from code review
Add spacing
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-08-18 09:15:50 +03:00
Ben McCann
30ba86ad3e
chore: upgrade dependencies ( #10573 )
2022-08-18 09:09:09 +03:00
Dan Onoshko
ffce0f9f18
feat: tooltip callbacks fallback ( #10567 )
...
* feat: tooltip callbacks fallback
* docs: review fixes
2022-08-18 09:03:12 +03:00
John Williams Metservice
7776d27268
Update index.d.ts ( #10579 )
...
Allow nulls to be passed to barChart data to allow datasets to spanGaps.
2022-08-17 18:43:46 -04:00
Jacco van den Berg
d1686fb6cc
Downgrade karma preprocessor ( #10589 )
...
* force older version of karma pre processor
* package-lock update
2022-08-12 18:15:47 -04:00
Jacco van den Berg
1551537a40
Add integration test(s) for Web ( #10563 )
...
Adds a basic react integration test
2022-08-07 13:25:11 -04:00
Dan Onoshko
3123a133fe
build: emit sourcemaps ( #10568 )
2022-08-07 13:23:35 -04:00
Dan Onoshko
cdb17d6eeb
feat: sideEffects false ( #10526 )
...
* feat: sideEffects false
* refactor: apply defaults by pure way
2022-08-06 08:45:41 -04:00
Jacco van den Berg
26a686f2cb
remove double space, eslint allow dynamic import ( #10572 )
2022-08-05 22:36:56 +02:00
Jacco van den Berg
3df687a87c
Remove destroy hook ( #10549 )
...
* remove destroy hook
* revert package-lock.json changes
* update test
* add migration guide note
* fix karma failing test
* change way of importing package.json
2022-08-05 19:51:14 +03:00
Jukka Kurkela
29395d9013
Fix docs build ( #10566 )
2022-08-05 08:02:04 -04:00
Ben McCann
e798defcde
Use ESM config file for Rollup ( #10564 )
2022-08-05 08:00:01 -04:00
Dan Onoshko
b19fc0169f
fix: pass timestamp to ticks callback ( #10540 )
...
* fix: pass timestamp to ticks callback
* docs: edit labelling page
* docs: additions to the migration guide
2022-08-05 07:59:36 -04:00
Dan Onoshko
ce375a6876
feat: add ESM support ( #10525 )
...
* feat: add ESM support
* build: rename UMD bundle
* chore: edit supbackages description
* style: disable es/no-import-meta linter rule
* test: dynamic import in cjs module
* docs: edit integrations page
* docs: review fixes
* chore: remove useless regex in webpack config
* ci: test size-limit only for ESM bundle
2022-08-04 18:43:26 -04:00
Dan Onoshko
a4de430d99
fix: treeshaking ( #10504 )
...
* fix: treeshaking
* refactor: DatasetController.datasetElementType and DatasetController.dataElementType as static props
2022-08-04 09:17:40 -04:00
Jacco van den Berg
9dfaa63639
Move parameter of TType in ChartMeta to first option ( #10550 )
...
* move paramter of TType in ChartMeta to first option
* add missing ChartMeta change
* Add note in migration guide
2022-08-04 01:06:15 +02:00
Ivan Gamboa Ultreras
9ab50e6313
Fix offset on doughnut charts ( #10469 )
...
Fix offset on doughnut charts
2022-08-03 20:27:17 +03:00
Jukka Kurkela
9224e57d93
Add integration test(s) for Node ( #10554 )
2022-08-03 09:17:05 -04:00
Jacco van den Berg
beaf370cc5
Bug/Radial linear scale grid get correct options at index ( #10010 )
...
* get correct options for index
* update test
* add initial migration guide
2022-08-03 02:32:02 +02:00
Jacco van den Berg
7079a1caac
Bump to 3.9.0 ( #10541 )
...
* make link work in github itself
* fix dead link on reload or new tab
* bump to 3.9.0
v3.9.0
2022-08-02 08:54:45 -04:00
Slava Terekhov
03e9194be5
feat: remove line element from scatter controller ( #10439 )
...
* feat: remove line element from scatter controller default config
* feat: move common controllers methods to helpers and add types
* feat: mark methods for scatter and line conntrollers as private
* fix: fix error when showline is true at root options and add tests
* feat: remove else inside scatter controller update
* fix: update getStartAndCountOFVisiblePoints helper code
2022-08-01 22:39:09 +03:00
Ben McCann
6feb48b5ef
Allow ESM files to be used in Node.js ( #10479 )
...
Allow ESM files to be used in Node.js
2022-07-30 11:25:23 -04:00
Dan Onoshko
844270eb5e
feat: pass some chart options to DateAdapter ( #10528 )
...
feat: pass some chart options to DateAdapter
2022-07-30 11:25:01 -04:00
Slava Terekhov
a26ca0aca7
docs: add docs for changing from time scale to logarithmic/linear scale ( #10527 )
2022-07-30 11:14:33 -04:00
Slava Terekhov
f0be17c859
Add circular prop to arc element ( #10405 )
...
* feat: add circular prop to arc element draw actions
* test: add test for arc element with circular:false prop
* feat: add circular prop to Arc element options
* docs: add decriptiption for new Polar area chart prop
* docs: fix circular prop description
* docs: add info about arc element circular prop to elements docs
* docs: move circular prop from general options to styling
2022-07-30 11:08:38 -04:00