Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
DamianM15
Partner - Contributor II
Partner - Contributor II

Qlik Sense - sorting on the stacked line chart

Hi,

I am trying to prepare stacked chart showing market shares of the products. I am struggling with the sorting of the legend. When I sort it ascenting by the market share I can see best product at the top on the chart but on the bottom in the legend. On the other hand If I sort it desc Product D is on the bottom of the chart and on the top in the legend.

Is it possible to have it on the top on the chart and on the top in the legend?

DamianM15_0-1649413168483.png

expression

Labels (2)
2 Replies
Henrique_Prata
Contributor II
Contributor II

Hello @DamianM15 ,

Under Colors and legends, you can change legend position and with that achieve the desired outcome. Have you tried doing that?

DamianM15
Partner - Contributor II
Partner - Contributor II
Author

Hi @Henrique_Prata ,

Thanks for your comment.

I know that it is possible to change the position of the legend, but I was thinking of legend's order.

As you can see I have Product D (red color) on the bottom of the legend but it is first on the chart (red field). I want to have it consistent: Product D first in the legend and first on the chart.