Legend items ordering, sorting
bears4barrett opened this issue · comments
Task: there should be parameters for legend ordering and sorting.
Legend and Geometry: Area charts work in reverse of each other as shown in the attached image.
I attempted to remedy this with configurations (reverse, orientation, rotate, etc.), but none seemed to solve with desirable outcome. It would be nice if this directionality was corrected by default, or a configuration to reverse the order in the Y Axis.
Hi, unfortunately, there is no fix yet. I have made a workaround, I hope it's applicable in your case:
https://jsfiddle.net/simzer/dkha2Lwm/21/
I rewrote the workaround because the legend-label-draw
and legend-background-draw
event arguments are changed in the main.
https://jsfiddle.net/vuhL74mw/39/
Great, thanks!