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: 
Not applicable

Qlik Sense - sort legend in stacked bar chart

hi all

is it possible to sort the values in the legend in a stacked bar chart in Qlik Sense.

The Stacked Bars are sorted correctly, but the legend is not.

qlik.PNG

Thank you for your support.

Kind regards

11 Replies
Anonymous
Not applicable
Author

Sorry to bump this old thread but i have that same problem and what i've noted is that in addition to be sorted in the order we want, the legend is primarly sorted by order of apparition of the data in the chart.


So here, 0 appear in the first 0 columns alone, so it's first in the legend, then 31 to 90 appear and is added to the legend then 1 to 30 and 91 to 180 appear on the 4th column and they are added in order to the legend. etc

Does somebody know/has found a workaround to load the legend regardless of order of apparition in the chart?

Heena
Contributor III
Contributor III

Thanks, it worked.