#296 Sort Order For Stacked Bar Legend

closed-accepted
None
5
2012-03-11
2012-03-09
Simon Kaczor
No

Added option to reverse legend sort order. Also, made the legend for stacked bar chart reverse by default. It is more intuitive this way since it follows the same order as the series.

Discussion

  • Simon Kaczor
    Simon Kaczor
    2012-03-09

    Legend Sort Order

     
    Attachments
  • Martin Höller
    Martin Höller
    2012-03-11

    • assigned_to: nobody --> matinh
    • status: open --> closed-accepted
     
  • Martin Höller
    Martin Höller
    2012-03-11

    Thanks for the patch.
    I committed the changes in LegendTitle (with minor modifications) for inclusion in 1.0.15.

    However, I didn't include the change of default behavior for two reasons:
    1) changing default behavior in new minor versions of a library is discouraged
    2) IMHO the current default is more intuitive (this probably depends on the use case)