Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#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.

Change History (2)

comment:1 Changed 9 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

(In [23522]) Charting: split Chart from Chart2D for more lean charts, !strict, fixes #12149.

comment:2 Changed 8 years ago by bill

In [27676]:

Fix deprecation message, and update DOH to remove reference to deprecated module. Refs #12149 !strict.

Note: See TracTickets for help on using tickets.