#12149 closed enhancement (fixed)
Distill a light-weight Chart from Chart2D
Reported by: | Eugene Lazutkin | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Charting | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
For user's convenience Chart2D
includes all types of axes (currently 2), and all types of plots (currently 21). This is unsustainable in the long run. Additionally it includes all possible charting options, even for modest charting needs, which is really taxing, and will be even more so over time.
Example: a pie chart needs no axes, and just one plot renderer: pie.
Proposal: distill Chart
object from Chart2D
object shedding all "convenient" references, which are not strictly required for all charts. Chart2D
is left for compatibility reasons. All other uses require to dojo.require()
all relevant renderers.
In order to make the transition smooth, add user-friendly error reporting, where missing pieces are clearly identified.
(In [23522]) Charting: split Chart from Chart2D for more lean charts, !strict, fixes #12149.