Commit Graph

1059 Commits

Author SHA1 Message Date
Jukka Kurkela
8e7bde25c4 Remove data checks and always re-parse data (#7458)
* Remove data checks and always re-parse data
* Fix removed helper namespace
2020-06-08 17:49:55 -04:00
Jukka Kurkela
f3cfeb8420 Implement routing of defaults (#7453)
Implement routing of defaults
2020-06-08 17:49:17 -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
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
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
53f462830c Cleanup resize complexity (#7439)
Cleanup resize complexity
2020-05-28 17:33:27 -04:00
Jukka Kurkela
f472a3f9a7 Remove proposal and obsolete features (#7425) 2020-05-26 19:16:23 -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
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
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
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
Ben McCann
a301ca148c Add a scale.init method (#7346) 2020-05-12 16:44:40 -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
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
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
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
Ben McCann
3c1e04f928 Allow registering scale with single parameter (#7157)
Allow registering scale with single parameter
2020-02-27 19:38:10 -05:00
Jukka Kurkela
5e489f16f6 Issue 4991 (#7084)
* Fix remaining handleEvent issues

* Reduce lines

* Update tooltip always on replay

* Address issues

* Fix test

* More tooltip fixing

* Extend comment
2020-02-25 14:35:32 -05:00
Ben McCann
0d6c05cca0 WebWorker support (#7146)
Co-authored-by: David Winegar <david.s.winegar@gmail.com>
2020-02-22 14:48:55 -05:00
Jukka Kurkela
d801e56106 Update dependencies and alter privacy of functions (#7138)
* Update dependencies

* Fix privacy problems

* color lib & consistency

* Review update

* getLabelCapacity

* Review update
2020-02-22 08:35:16 -05:00
Ben McCann
428411319a Create a Tick typedef (#7124) 2020-02-21 18:56:39 -05:00
Ben McCann
e2145e3b55 Turn on excludeNotExported (#7121) 2020-02-20 12:18:21 -05:00
Ben McCann
2e5b072251 Turn on some TypeScript checks (#7116)
Turn on some TypeScript checks
2020-02-20 09:43:16 -05:00
Jukka Kurkela
65425a5cb6 Include version in Chart (#7129)
* Include version in Chart
* Remove commonjs
2020-02-20 09:41:47 -05:00
Ben McCann
028ee30505 Make margins private (#7123) 2020-02-19 14:15:48 -05:00
Ben McCann
3682da7899 JSDoc fixes (#7112) 2020-02-17 14:31:43 -05:00
Jukka Kurkela
bfe34214ac Use ResizeObserver and MutationObserver to detect detach/attach/resize (#7104)
* Use Resize/MutationObserver to detect detach/attach/resize
* Cleanup
* Review update
* Restore infinite resize detection (#6011)
2020-02-17 11:00:03 -05:00
Ben McCann
1b1c7fc302 Remove unused property _maxLabelLines (#7101) 2020-02-14 12:29:52 -05:00
Jukka Kurkela
7c1fb37c61 Babel @kurkle/color for IE support (#7099)
Babel @kurkle/color for IE support
2020-02-14 12:29:33 -05:00
Jukka Kurkela
72c3c6d080 Fix memory leak (#7097) 2020-02-13 18:42:25 -05:00
Jukka Kurkela
25a9969489 Enable esnext and fix all lint errors (#7094)
* enable esnext and fix all lint errors

* Review update

* Missed some

* Some cleanup still

* Remove leftover eslint disable
2020-02-13 18:41:49 -05:00
Ben McCann
7609385544 Cleanup some Typescript comments (#7088) 2020-02-12 08:03:23 -05:00