Commit Graph

1710 Commits

Author SHA1 Message Date
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
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
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
53f462830c Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-05-28 17:33:27 -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
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
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
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
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
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
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
19bb07a9f8 Upgrade dependencies (#7352) 2020-05-18 09:48:21 -04:00
Ben McCann
c8c577a525 Developer migration documentation (#7358)
* Update the developer guide intro page
* Expand developer migration documentation
2020-05-15 17:16:04 -04:00
Evert Timberg
ae99039e4d When the container padding is an empty string, handle it as 0px (#7349) 2020-05-13 16:53:42 -04:00
Ben McCann
a301ca148c Add a scale.init method (#7346) 2020-05-12 16:44:40 -04:00
Ben McCann
29553130de Remove unused bar property and confusing docs referring to it (#7333) 2020-05-12 16:42:48 -04:00
Evert Timberg
f19a701bc5 Check for destroyed charts when handling throttled DOM events (#7293)
Co-authored-by: Evert Timberg <etimberg@opusonesolutions.com>
2020-04-27 21:53:53 -04:00
Jukka Kurkela
32de1b6ebf Support isoWeekday when rounding (#7269) 2020-04-13 19:34:18 -04:00
Jukka Kurkela
1228981e4f Fix couple of small issues (#7268) 2020-04-13 19:33:15 -04:00
Ben McCann
14021d369a Remove unused layouts.defaults (#7264)
* Remove unused layouts.defaults
* Add to migration guide
2020-04-11 08:46:33 -04:00
Tim Gates
8f7cdf1827 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-04-09 20:46:41 -04:00
Ben McCann
d560f9dbad Fix overlapping ticks on log scale (#7242) 2020-04-03 18:12:34 -04:00
Ben McCann
48a6a8d130 Address bar chart performance regression (#7234) 2020-03-30 17:31:54 -04:00
Ben McCann
3f58edbe80 Remove unused method parameter (#7229) 2020-03-29 15:02:27 -04:00
Evert Timberg
990fd03153 Revert "Use round when setting new chart size (#7221)" (#7226)
This reverts commit 8b01ab1326.
2020-03-27 20:23:14 -04:00
Ben McCann
0e196fc514 getPixelForTick cleanup (#7225) 2020-03-27 19:48:04 -04:00
emmcbd
8b01ab1326 Use round when setting new chart size (#7221) 2020-03-27 19:46:34 -04:00
Jukka Kurkela
60858547ac Fix events in shadow dom (#7224) 2020-03-27 19:46:17 -04:00
Ben McCann
ee0aa0c116 Fix filterBetween (#7211)
* Fix filterBetween
* Update with review suggestions
2020-03-24 12:49:48 -04:00
Ben McCann
7051410d4e Only polyfill ResizeObserver for UMD builds (#7208) 2020-03-22 13:40:26 -04:00
Ben McCann
e46420e595 Cleaner handling of fitting no ticks (#7212) 2020-03-22 13:40:16 -04:00
Jukka Kurkela
b73b8f9863 Update running animations (#7196) 2020-03-14 19:20:59 -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