Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add numbers in a legend for Stacked Bar Charts.

Hello,

Does anyone know how to add numbers in the legend in a stacked bar. The option in the presentation tab is missing when I have a stacked bar selected. There is a option to plot values inside the stacked segments.

Thanks in advance.

Rodrigues

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Stacked bar doesn't allow to add numbers to the legent (like in a pie chart, for example). The reason is that the stacked bar chart may present more than one stacked bar, and therefore multiple numbers would have to be displayed there.

If your bar chart always shows a single bar, you can "fake" the legend by adding a small Straight Table, painted the same way as the bars, and ten you can show the numbers there.

View solution in original post

2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Stacked bar doesn't allow to add numbers to the legent (like in a pie chart, for example). The reason is that the stacked bar chart may present more than one stacked bar, and therefore multiple numbers would have to be displayed there.

If your bar chart always shows a single bar, you can "fake" the legend by adding a small Straight Table, painted the same way as the bars, and ten you can show the numbers there.

Not applicable
Author

Thank you Oleg ! That makes total sense and I should have thought about.