Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#16468 closed defect (fixed)

dojo SelectableLegend on StackedColumns - vertical legend incorrect

Reported by: Tony_D Owned by: cjolif
Priority: undecided Milestone: 1.8.4
Component: Charting Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:


When setting the selectableLegend to vertical (horizontal: false) on a stackedColumns chart, the legend is ordered incorrectly, and thus when you toggle an item in the legend an unrelated Series is toggled from the graph. It works fine when horizontal is set to true.


Change History (6)

comment:1 Changed 9 years ago by cjolif

Component: GeneralCharting
Milestone: tbd1.8.3
Owner: set to cjolif
Status: newassigned

comment:2 Changed 9 years ago by Kitson Kelly


Going to try to cut 1.8.3 tonight, moving to 1.8.4

comment:3 Changed 9 years ago by cjolif

The reversing function in Legend was introduced by #12548 because at that point in time stacked/clustered columns had a different order than regular charts! But later for consistency we switched all charts to the same ordering and thus we don't need that code anymore. That said the current ordering is probably wrong and we might want to switch everything the way around in which case we will have to be careful to check if Legend is still displaying in the right order (see #15359 for the ticket about reversing ordering).

Last edited 9 years ago by cjolif (previous) (diff)

comment:4 Changed 9 years ago by cjolif

In [30230]:

refs #16468. Ordering of series in the legend must not anymore be "fixed" for clustered charts as all charts now use the same ordering.

comment:5 Changed 9 years ago by cjolif

Resolution: fixed
Status: assignedclosed

In [30232]:

fixes #16468. Backport fix to 1.8.4

comment:6 Changed 9 years ago by cjolif

In [30233]:

refs #16468. Revert erroneous test commit.

Note: See TracTickets for help on using tickets.