Skip to Content
0
Jul 24, 2020 at 09:43 AM

VizFrame stacked bar chart legend order

102 Views

In the SAPUI5 vizframe stacked bar chart example, the order of the stacked bar is not matching with the order of the legend by default.

In the above examples, the bar displays '1 Percent' (orange) data first and then '2 Percent' (blue), whereas the legend displays '2 Percent' (blue) first and then the '1 percent' (orange).

Is there a property that controls the order?v3q6x.png

Also when the legend group is position in the top/bottom, the legend items are displayed side by side, whereas if it is positioned in the left/right, each items are displayed one below the other.

Is there a way to achieve the legend items displayed one below the other in the bottom/top position?

Attachments

v3q6x.png (76.7 kB)