Commit Graph

1710 Commits

Author SHA1 Message Date
Evert Timberg
575283c5c6 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-09-01 11:30:15 -04:00
Evert Timberg
e26f7b984a 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-09-01 11:30:15 -04:00
Jukka Kurkela
2b57660aba Make indexable options looping (#7442)
* Make indexable options looping
* Migration note
2020-09-01 11:30:15 -04:00
Jukka Kurkela
61c758e5ff Consistency: Use lower case for instances (#7436)
Consistency: Use lover case for instances
2020-09-01 11:30:15 -04:00
Jukka Kurkela
89dff23d1f Arc: Stop drawing anything when hidden (#7438)
* Arc: Stop drawing anything when hidden
* Cleanup
2020-09-01 11:30:15 -04:00
Jukka Kurkela
f7e44ae089 Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-09-01 11:30:15 -04:00
Evert Timberg
eb8cd13997 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-09-01 11:30:15 -04:00
Evert Timberg
25ab011ed4 Only draw the tooltip if it is defined (#7411) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
521844704c Remove proposal and obsolete features (#7425) 2020-09-01 11:30:15 -04:00
Evert Timberg
3aeeca3aaf Default aspectRatio to 1 for square charts (#7414) 2020-09-01 11:30:15 -04:00
Yiwen Wang
e4f9bec4b3 Fix chart resizing issue (#7297) (#7298)
Fix chart resizing issue
2020-09-01 11:30:15 -04:00
Evert Timberg
0e9def67d2 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-09-01 11:30:15 -04:00
Jukka Kurkela
f65b2c0758 Move font* to font.* (#7383) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
a8cf9d81c9 Remove default export from controllers/index (#7388)
Remove default export from controllers/index
2020-09-01 11:30:15 -04:00
Samuel Gratzl
c796757d3e use direct imports instead of generic helpers import (#7385)
Split all helper functions in different files and import them directly where used
2020-09-01 11:30:15 -04:00
Jukka Kurkela
f9a34d54bd Remove default export from plugins/index (#7389) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
9ae15e2813 Add index to core (#7390) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
82c27a0f86 Rename platform/platform to index removing default (#7391)
Rename platform/platform to index removing default
2020-09-01 11:30:15 -04:00
Jukka Kurkela
bbf63991f8 Delay animations until attached (#7370)
* Delay animations until attached
* Detect container detachment
2020-09-01 11:30:15 -04:00
Jukka Kurkela
1778239b98 Preserve object prototypes when cloning (#7381) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
167b2242e0 Detect data modifications with equal values (#7350)
Fix data shift-push with identical values
2020-09-01 11:30:15 -04:00
Ben McCann
b3400690d7 Add a JSDoc for _dataCheck (#7377) 2020-09-01 11:30:15 -04:00
Ben McCann
84a0a334de Use correct index when resolving bubble options (#7375) 2020-09-01 11:30:15 -04:00
Ben McCann
fab8e902bb Better organize calls in main controller (#7345) 2020-09-01 11:30:15 -04:00
Ben McCann
7b81f0f491 Upgrade dependencies (#7352) 2020-09-01 11:30:15 -04:00
Ben McCann
57176cc8e2 Developer migration documentation (#7358)
* Update the developer guide intro page
* Expand developer migration documentation
2020-09-01 11:30:15 -04:00
Evert Timberg
a98f3805dd When the container padding is an empty string, handle it as 0px (#7349) 2020-09-01 11:30:15 -04:00
Ben McCann
ac168ed449 Add a scale.init method (#7346) 2020-09-01 11:30:15 -04:00
Ben McCann
1357d19528 Remove unused bar property and confusing docs referring to it (#7333) 2020-09-01 11:30:15 -04:00
Evert Timberg
e457b3d3a0 Check for destroyed charts when handling throttled DOM events (#7293)
Co-authored-by: Evert Timberg <etimberg@opusonesolutions.com>
2020-09-01 11:30:15 -04:00
Jukka Kurkela
396c3a7592 Support isoWeekday when rounding (#7269) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
6e4155cdbd Fix couple of small issues (#7268) 2020-09-01 11:30:15 -04:00
Ben McCann
d105092cf1 Remove unused layouts.defaults (#7264)
* Remove unused layouts.defaults
* Add to migration guide
2020-09-01 11:30:15 -04:00
Tim Gates
a0a781a879 docs: Fix simple typo, layed -> laid (#7263)
There is a small typo in src/core/core.layouts.js, src/core/core.plugins.js.

Should read `laid` rather than `layed`.
2020-09-01 11:30:15 -04:00
Ben McCann
338c75afd9 Fix overlapping ticks on log scale (#7242) 2020-09-01 11:30:15 -04:00
Ben McCann
6b0dbf9e5f Address bar chart performance regression (#7234) 2020-09-01 11:30:15 -04:00
Ben McCann
295ef956b2 Remove unused method parameter (#7229) 2020-09-01 11:30:15 -04:00
Evert Timberg
c84beb89fc Revert "Use round when setting new chart size (#7221)" (#7226)
This reverts commit 8b01ab1326.
2020-09-01 11:30:15 -04:00
Ben McCann
6b7daa72f6 getPixelForTick cleanup (#7225) 2020-09-01 11:30:15 -04:00
emmcbd
edd0671f6b Use round when setting new chart size (#7221) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
fe08167f7f Fix events in shadow dom (#7224) 2020-09-01 11:30:15 -04:00
Ben McCann
dcb57388df Fix filterBetween (#7211)
* Fix filterBetween
* Update with review suggestions
2020-09-01 11:30:15 -04:00
Ben McCann
efdbea9e9a Only polyfill ResizeObserver for UMD builds (#7208) 2020-09-01 11:30:15 -04:00
Ben McCann
7762b9b142 Cleaner handling of fitting no ticks (#7212) 2020-09-01 11:30:15 -04:00
Jukka Kurkela
f641c32dde Update running animations (#7196) 2020-09-01 11:30:15 -04:00
bjones526
e1796d361f expose boxWidth and boxHeight on tooltip (#6995) 2020-03-06 12:17:59 -05:00
Ben McCann
788dbd4499 Alphabetize element default options (#7170)
* Alphabetize element default options

* Add arc

* Add missing comma
2020-03-01 09:57:39 -05:00
Ben McCann
5ef519e4d2 Shorten imports (#7168) 2020-03-01 09:57:24 -05:00
Ben McCann
6638549a75 Remove unused constructor parameter (#7171) 2020-03-01 09:57:05 -05:00
Jukka Kurkela
a3dddb45d9 Use global element hidden status for Pie charts (#7156)
Use global element hidden status for Pie / polarArea charts
2020-03-01 09:07:39 -05:00