Commit Graph

3183 Commits

Author SHA1 Message Date
stockiNail
09a12f8bff Remove lineHeight property from ScaleTitle (#7477)
`lineHeight` it should not be used anymore because inside the `Font` object
2020-06-08 07:56:06 -04:00
Ben McCann
17a1fe9d02 Better formatting of large tick values (#7335)
Better formatting of large tick values
2020-06-08 07:52:01 -04:00
Evert Timberg
3ec3ac716f Cleanup Event Handling code to match style of tooltip plugin. (#7467)
* Cleanup Event Handling code to match style of tooltip plugin.

Eliminates saving two arrays of items on the chart prototype. The `onHover`
callback now receives the wrapped event instead of the native one.
2020-06-08 07:31:00 -04:00
Evert Timberg
1cdfea8503 Do not show legend in stacked scatter test (#7470) 2020-06-08 07:26:06 -04:00
Evert Timberg
6f14b145d1 Stacked scatter chart (#7468)
* Handle partially stacked scatter charts
* Update test files
2020-06-07 16:32:08 -04:00
Jukka Kurkela
3c02846c00 Babel loose (#7452)
* Use loose mode for babel
* Add note about loose mode in performance docs
2020-06-05 17:03:54 -04:00
Evert Timberg
0703d78286 Enable custom legend box heights (#7459)
Enable custom legend box heights
2020-06-04 19:53:40 -04:00
Jukka Kurkela
690d07ba9b Update packages (#7463) 2020-06-04 19:51:34 -04:00
Jukka Kurkela
614fa07c99 Use verbose build in dev mode (#7455)
* Use verbose build in dev mode
* Update comment
2020-06-03 18:04:49 -04:00
Evert Timberg
7872c8490e Radial Linear Scale: Compute Value based on distance from center (#7449)
* Radial Linear Scale: Compute Value based on distance from center

* Code review updates
2020-06-01 08:07:48 -04:00
Evert Timberg
e38cc257fb Indicate that axis callbacks are at top level of options (#7451) 2020-06-01 08:06:59 -04:00
Evert Timberg
185f83aca3 Update doc samples for changed file name (#7447) 2020-05-31 08:36:42 -04:00
Evert Timberg
08854a4241 Radar charts should fill to the center by default (#7446)
* Radar charts should fill to the center by default
* Update tests for new defaults
2020-05-30 16:42:23 -04:00
Jukka Kurkela
22e367c445 Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
2020-05-29 16:27:10 -04:00
Ben McCann
c527ec9910 Remove unused dependency (#7441) 2020-05-28 17:39:09 -04:00
Jukka Kurkela
553ae385a8 Consistency: Use lower case for instances (#7436)
Consistency: Use lover case for instances
2020-05-28 17:37:19 -04:00
Jukka Kurkela
c02acaf272 Arc: Stop drawing anything when hidden (#7438)
* Arc: Stop drawing anything when hidden
* Cleanup
2020-05-28 17:35:38 -04:00
Jukka Kurkela
7752566a48 Remove missing setDataVisibility for documentation (#7437) 2020-05-28 17:33:50 -04:00
Jukka Kurkela
53f462830c Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-05-28 17:33:27 -04:00
Jukka Kurkela
9399e57fc2 Clean lint errors from samples by refactoring (#7440)
* Clean lint errors from samples by refactoring
* Review
2020-05-28 17:32:00 -04:00
Ben McCann
c26fb442ee Upgrade to Docusaurus alpha.56 (#7432) 2020-05-28 07:37:45 -04:00
Jukka Kurkela
064a2f3a0b Replace gulp with npm scripts (#7402)
Gulp removed from toolchain in favour of simpler build process
2020-05-27 17:14:17 -04:00
Evert Timberg
29043f152b Consider all timestamps for bar measuring (#7421)
* Consider all timestamps for bar measuring
* Fix watched tests for updated file names
* Add test of sparse bar time scales
2020-05-27 12:22:00 -04:00
Evert Timberg
e590a9792c Only draw the tooltip if it is defined (#7411) 2020-05-26 20:03:18 -04:00
Jukka Kurkela
f472a3f9a7 Remove proposal and obsolete features (#7425) 2020-05-26 19:16:23 -04:00
Jukka Kurkela
ebccf225b9 Alter test to require fever iterations (#7426) 2020-05-26 18:10:28 -04:00
Evert Timberg
a35f7057f6 Default aspectRatio to 1 for square charts (#7414) 2020-05-25 16:55:12 -04:00
Yiwen Wang
94763bff35 Fix chart resizing issue (#7297) (#7298)
Fix chart resizing issue
2020-05-25 16:54:55 -04:00
Jukka Kurkela
986f72f933 Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
2020-05-25 16:54:22 -04:00
Evert Timberg
13b8924ac3 Legend onClick callback supports arrow functions (#7410)
#7409 Legend callbacks support arrow functions
The `Legend` is no longer implicitly found through `this` and instead
passed as an explicit argument to the callback functions.
2020-05-24 10:28:41 -04:00
Ben McCann
e0f44051b5 Docs: fix z-index default (#7405) 2020-05-22 17:32:15 -04:00
Jukka Kurkela
5cf054ef25 Use full URL for TypeDocs (#7380)
Use full URL for TypeDocs
2020-05-21 17:11:46 -04:00
Jukka Kurkela
5a83a80811 Move font* to font.* (#7383) 2020-05-21 17:07:06 -04:00
Jukka Kurkela
37633c221a Remove default export from controllers/index (#7388)
Remove default export from controllers/index
2020-05-21 16:44:49 -04:00
Jukka Kurkela
c2b66ba842 Small update to animation documentation (#7384)
Update animation documentation to include samples
2020-05-21 16:43:36 -04:00
Samuel Gratzl
3e28825c0f use direct imports instead of generic helpers import (#7385)
Split all helper functions in different files and import them directly where used
2020-05-21 16:41:56 -04:00
Jukka Kurkela
5920858513 Remove default export from plugins/index (#7389) 2020-05-21 16:37:37 -04:00
Jukka Kurkela
087ba88da6 Add index to core (#7390) 2020-05-21 16:37:10 -04:00
Jukka Kurkela
39eb39008d Rename platform/platform to index removing default (#7391)
Rename platform/platform to index removing default
2020-05-21 16:36:06 -04:00
Jukka Kurkela
7ac61441a6 Run tests in series to avoid timeouts (#7392) 2020-05-21 16:35:03 -04:00
Jukka Kurkela
cfb5fba527 Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-05-20 17:45:44 -04:00
Jukka Kurkela
51be344717 Preserve object prototypes when cloning (#7381) 2020-05-20 17:40:42 -04:00
Jukka Kurkela
50f2a1097a Detect data modifications with equal values (#7350)
Fix data shift-push with identical values
2020-05-19 17:58:53 -04:00
Ben McCann
ab1b0ca2b9 Add a JSDoc for _dataCheck (#7377) 2020-05-19 17:58:16 -04:00
Ben McCann
e63db8689b Upgrade Docusaurus to alpha.55 (#7376) 2020-05-19 10:28:27 -04:00
Ben McCann
53f5038252 Use correct index when resolving bubble options (#7375) 2020-05-19 10:28:16 -04:00
Ben McCann
925b23da86 Better organize calls in main controller (#7345) 2020-05-18 09:49:07 -04:00
Ben McCann
c5e76fc592 Fix broken links to contributor's guide (#7348)
Closes https://github.com/chartjs/Chart.js/issues/7347
2020-05-18 09:48:44 -04:00
Ben McCann
19bb07a9f8 Upgrade dependencies (#7352) 2020-05-18 09:48:21 -04:00
Jukka Kurkela
319a6a40b9 Use @rollup/plugin-inject for ResizeObserver poly (#7360) 2020-05-15 17:17:59 -04:00