Evert Timberg
17f6edb650
Remove I prefix from TS types ( #8017 )
...
* Remove I prefix from TS types
* Update missing `ILayoutItem` typedefs
* IEvent should become ChartEvent
* Prevent FillTarget collision
* Import FontSpec instead of IFontSpec
* Prevent recursive DateAdapter problem
2020-11-07 08:35:19 -05:00
Jukka Kurkela
6dbb7e7446
Move config handling to a dedicated script ( #7939 )
...
* Split core.config.js out of core.controller.js
* Remove side effects from config.js
* Turn config into a class
* Refactor config merging as includeDefaults
2020-10-24 18:37:37 +03:00
Jukka Kurkela
58d1911d05
Add args.mode to before/after update plugin hooks ( #7949 )
2020-10-24 18:36:31 +03:00
paul cheung
7ce9710f33
fix some typos ( #7914 )
2020-10-18 16:52:56 +03:00
Jukka Kurkela
c749fbdf5f
Fix the parameter order of before/afterEvent ( #7757 )
2020-09-04 16:47:08 -04:00
Jukka Kurkela
7024aad38f
PluginService using registry ( #7590 )
...
PluginService using registry
2020-07-11 18:08:45 -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
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
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
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
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
25002f2763
Defaults as ES6 class ( #7074 )
...
* Defaults as ES6 class
* Review comments
2020-02-09 08:52:18 -05:00
Jukka Kurkela
f5655c511e
PluginService as ES6 class ( #7075 )
...
* PluginService as ES6 class
* Review update
2020-02-08 18:06:49 -05:00
Ben McCann
795c86e95b
Fix errors reported by TypeScript compiler ( #7030 )
2020-02-07 18:03:33 -05:00
Ben McCann
f9cd9fdf76
JSDoc and other cleanup ( #7057 )
2020-02-05 08:27:02 -05:00
Ben McCann
fe3931b077
Reduce scope of imports ( #7000 )
2020-01-22 07:19:44 -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
Ben McCann
c6c4a52257
Switch most requires to imports ( #6935 )
2020-01-09 07:23:53 -05:00
Jukka Kurkela
f4792306e0
Remove global from defaults ( #6893 )
2020-01-03 14:07:38 -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
2f874fde62
Use lowercase for primitives in jsdocs ( #6033 )
2019-02-11 08:51:39 +01:00
Simon Brunel
2d7f0a46c3
Fix updating plugin options ( #5144 )
...
Cached plugin descriptors hold a reference on the plugin options, which break if the plugin options object is replaced. That case happens when the user updates the plugin options with a new object, but also since the new config update logic (#4198 ) that now always clones the plugin options. The fix consists in explicitly invalidating that cache before updating the chart.
2018-01-13 08:23:50 -05:00
Simon Brunel
fb3ea03440
Make Chart.plugins importable ( #5114 )
...
Explicitly deprecate (since 2.1.5) `Chart.Legend` and `Chart.Title`.
2018-01-08 11:48:59 +01:00