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
Jukka Kurkela
afe30ca642
Determine if data is sorted ( #6885 )
...
* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs
2020-01-03 13:56:41 -05:00
Evert Timberg
e96ad6f249
Remove HTML legend that is mostly unsupported. ( #6887 )
...
* Remove HTML legend that is mostly unsupported.
Resolves the discussion in #5070
* Add migration docs
2020-01-03 13:56:11 -05:00
Evert Timberg
b35e552686
Convert Chart class to an ES6 class ( #6886 )
...
* Chart class is now an ES6 class
* Use of const and let in core Chart class
* Use import/export for core Chart file
2020-01-01 18:11:16 -05:00
Jukka Kurkela
3427479a25
IE11 compatibility ( #6872 )
2019-12-30 17:15:57 -05:00
Jukka Kurkela
0b68786c04
Resync metasets array when indices change. ( #6864 )
...
* Resync metasets array when indices change.
* Make sure _metasets is initialized
2019-12-28 09:49:34 -05:00
Jukka Kurkela
b83f64b16e
Rewrite animation logic ( #6845 )
...
* Rewrite animation logic
* Review update 1
* Review update 2
* Review update 3
* Add 'none' to api.md
2019-12-27 17:13:24 -05:00
Ben McCann
3abe9bfebf
Replace Object.entries with Object.keys ( #6862 )
2019-12-26 08:49:22 -05:00
Evert Timberg
c8bdca62e8
Move all helpers to src/helpers ( #6841 )
...
* Move all helpers into src/helpers
* Move curve helpers to their own file
* DOM helpers moved to their own file
* Update migration docs
* Remove migration docs on new functions
2019-12-17 08:04:40 -05:00
Evert Timberg
374b7491a3
Allow axes to be centered on the chart area ( #6818 )
...
Allow axes to be centered on the chart area or at a dynamic position based on another axis
2019-12-16 18:17:42 -05:00
Jukka Kurkela
15785fdc54
Cache sorting order of dataset metas ( #6757 )
...
* Cache sorting order of dataset metas
* Cache dataset visibility
2019-12-14 13:03:09 -05:00
Ben McCann
b7caa2410c
Store parsed data more similarly to provided data ( #6814 )
...
* Store parsed data more similarly to provided data
* Add test
2019-12-08 08:52:11 -05:00
Jukka Kurkela
ce74eb76a1
Convert axis options from arrays to objects ( #6773 )
...
* Convert axis options from arrays to objects
* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs
* Fix additional tests
* Ensure scale defaults are set if type is not explicitly defined
* Another step
* Include `scale` as `firstIDs.r`
* update docs
* Update for buildOrUpdateScales
* Update migration guide
* Add test back
2019-11-21 18:46:49 -05:00
Ben McCann
ea90365972
Don't store _meta on dataset ( #6778 )
2019-11-21 07:20:18 -05:00
Ben McCann
64bc48ab53
Remove Element.initialize ( #6777 )
2019-11-21 07:06:15 -05:00
Jukka Kurkela
7f97adf5a0
Move scale defining options up from ticks ( #6738 )
...
* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration
2019-11-15 12:11:13 -05:00
Jukka Kurkela
aa3e4c4d27
Tooltip label and value via controller ( #6744 )
2019-11-15 11:51:45 -05:00
Jukka Kurkela
76a89f0922
determineDataLimits optimizations ( #6695 )
2019-11-12 19:24:07 -05:00
Jukka Kurkela
11ef1e5e89
Versatile clipping ( #6642 )
...
Versatile clipping algorithm for different chart types
2019-11-10 17:41:01 -05:00
Ben McCann
a3392e0e59
Remove index and datasetIndex from Element ( #6688 )
...
Remove `index` and `datasetIndex` properties from elements.
2019-11-10 07:52:12 -05:00
Jukka Kurkela
81f5cf416a
Performance optimizations when animations are disabled ( #6710 )
...
* Don't copy _model when animations are disabled
* Review comments
2019-11-09 21:57:54 -05:00
Ben McCann
83d447f317
Fix doughnut sample ( #6690 )
2019-11-05 07:10:01 -05:00
Ben McCann
80587bb68d
Remove unused parameters ( #6674 )
2019-11-02 15:20:19 -04:00
Ben McCann
9c2baa3c23
Remove backwards compatibility for update second arg ( #6675 )
2019-11-02 09:18:42 -04:00
RatherLogical
50fd869334
Update tooltip content and styling on update() ( #6635 )
...
Update tooltip content and styling on update()
2019-10-29 06:39:07 -04:00
Jukka Kurkela
0228776e66
Remove deprecated interaction modes ( #6625 )
...
* Remove deprecated interaction modes
* Use default modes
2019-10-28 18:11:38 -04:00
Jukka Kurkela
d6ba91f732
Remove deprecated code from animations and core ( #6624 )
2019-10-27 18:28:47 -04:00
Ben McCann
4d69119d18
Remove mergeTicksOptions ( #6621 )
2019-10-27 18:12:05 -04:00