Jukka Kurkela
d5eaa12d96
Fix: update chart when attached ( #7758 )
2020-09-04 16:47:36 -04:00
Jukka Kurkela
4fa2c408f0
Remove duplicate code, clearer parameter names ( #7756 )
2020-09-04 16:46:44 -04:00
Jukka Kurkela
da33b1bb27
Fix shared option handling ( #7731 )
...
Fix shared option handling
2020-08-27 09:14:08 -04:00
Jukka Kurkela
2ea01d9beb
Include Chart.defaults always ( #7686 )
2020-08-03 12:33:21 -04:00
Jukka Kurkela
572b1c737e
Move register/unregister to core.controller ( #7626 )
2020-07-15 18:11:56 -04:00
Jukka Kurkela
7024aad38f
PluginService using registry ( #7590 )
...
PluginService using registry
2020-07-11 18:08:45 -04:00
Ben McCann
4cc3079e65
Add normalized option ( #7538 )
...
Add normalized option to time scales
2020-07-07 07:50:53 -04:00
Jukka Kurkela
6bd5ad5518
Generic registry for controllers, scales, elements and plugins ( #7435 )
...
* Generic registry for controllers, scales, elements and plugins
* Remove references to scale service
2020-07-06 17:38:04 -04:00
Jukka Kurkela
59a1af91ac
Replace horizontalBar with indexAxis: 'y' ( #7514 )
...
* Replace horizontalBar with indexAxis: 'y'
* Fix drawing of line for last x-position
* Consistently determine axis of scale
* Add test
2020-06-18 17:35:52 -04:00
Jukka Kurkela
c439d816fa
Fix initial animations ( #7511 )
...
* Fix initial animations
* CC
2020-06-16 17:56:42 -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
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
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
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
Ben McCann
925b23da86
Better organize calls in main controller ( #7345 )
2020-05-18 09:49:07 -04:00
Ben McCann
a301ca148c
Add a scale.init method ( #7346 )
2020-05-12 16:44:40 -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
emmcbd
8b01ab1326
Use round when setting new chart size ( #7221 )
2020-03-27 19:46:34 -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
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
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
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
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
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
2f17dbcd70
Prefix private controller methods with underscore ( #7081 )
...
Prefix private controller methods with underscore
2020-02-10 17:57:22 -05:00
Jukka Kurkela
44a624f2d1
Fix typo and update dependencies ( #7077 )
...
* Fix typo and update dependencies
* Update `isColorInstance`
2020-02-09 20:14:38 -05:00
Ben McCann
795c86e95b
Fix errors reported by TypeScript compiler ( #7030 )
2020-02-07 18:03:33 -05:00
Jukka Kurkela
70b6eab563
Configurable hide/show animations ( #7055 )
...
Configurable hide/show animations
2020-02-06 18:16:24 -05:00
Ben McCann
1c18a74ea0
Fix some JSDoc errors ( #7026 )
...
* Fix some JSDoc errors
* Fix helpers.dom JSDoc errors
* Add scale JSDoc errors
* Address review comment
* Fix additional errors
* Document optional parameters
* JSDoc fixes for datasetController
* Remove undefined
2020-02-03 07:52:55 -05:00
Ben McCann
eec71bfb22
Fix isRadial is always false ( #7037 )
2020-01-30 19:22:38 -05:00
David Winegar
1ad5f369af
Allow switching platforms ( #6964 )
...
Allow switching platforms
Move the Chart.platform to Chart.platform.current instead, and add
ways to see available platforms and set the current platform. This
is necessary for adding tests that use the "basic" platform.
2020-01-26 15:33:20 -05:00
Jukka Kurkela
fb19b77e4b
Fix tooltip for 'dataset' mode ( #6961 )
2020-01-21 09:48:58 -05:00
Evert Timberg
5aaff3a1aa
Convert Tooltip to a plugin ( #6990 )
...
* Convert Tooltip to a plugin
* code review feedback
* Update docs. Convert positioners map to be on the plugin directly
2020-01-21 06:36:53 -05:00
Jukka Kurkela
16baf20356
Resize on zoom, retry ( #6987 )
2020-01-19 13:15:27 -05:00
Jukka Kurkela
767ffc05ce
Resize on zoom ( #6974 )
...
* Resize on zoom
* Add test
2020-01-17 19:07:28 -05:00
Jukka Kurkela
6e38813481
Fix clipping when zoomed ( #6973 )
2020-01-17 19:05:51 -05:00
Evert Timberg
9cb65d2c97
Add API to change data visibility ( #6907 )
2020-01-06 17:16:00 -05:00
Jukka Kurkela
f4792306e0
Remove global from defaults ( #6893 )
2020-01-03 14:07:38 -05:00