Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Legend with custom colors in a Stacked Bar Chart

Hello Community,

I have created a stacked bar chart and added custom colors by expression.

Now the legend option disappears. I want to display the legend.

Is there any possibility do display the legend with custom colors?

Thank you for the help!

Greetings,

Florian

9 Replies
MK9885
Master II
Master II

I'm not sure if this can be done with default Bar chart. The color expression code already has predefined color gradient and expression doesn't seem to work.

Maybe you can use an Extension which will allow you to do this?

ahaahaaha
Partner - Master
Partner - Master

Hi Florian,

I tried to reproduce yuor task. In my chart just changed the colors to custom ones, everything else is preserved. Maybe I did something wrong. Can it be possible to attach a sample as file QVF?

Regards,

Andrey

Not applicable
Author

Hi Andrey,

i have attached an example. If you go to "Colors and legend" there is no legend to display anymore.

Thank you,

Florian

ahaahaaha
Partner - Master
Partner - Master

Я извиняюсь, может быть, я не понимаю, что-то. Я в приложенном файле немного увеличен размер диаграммы и увидел все стандартные настройки диаграммы. Вы можете показать на картинке, что до сих пор не хватает?

OmarBenSalem

I guess that's not possible.

I'd propose you mention the way you're coloring it in the title or a text object.

morenoju
Partner - Specialist
Partner - Specialist

Using a title or a text is a workaround, but the question is, why would the legend disappear when colors are custom?

Is this a bug in Qlik Sense?

The thread is from 2017, maybe it has been addressed in new version. I'm currently using June 2019 and the problem is still there though.

Shannon
Contributor
Contributor

I am still struggling with this issue. Has there been any progress?

morenoju
Partner - Specialist
Partner - Specialist

Not that I know. Is there a way to report bugs?

nlee4jnj
Contributor II
Contributor II

This is a pretty basic feature miss. I'm disappointed to see it's not fixed yet.