Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

show the legend on the bar in the chart

Dear all,

given the design below. can we include the legend right below the bar or on the bar itself? so easy for user to understand instead need to refer to the legend on the right.

Untitled.png

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Hi Chee,

try this in Expression

Dual(Only(Dim2)&'-'&YourExpression,YourExpression)

Regards,

Antonio

View solution in original post

9 Replies
Sakura
Creator
Creator

The best solution I can think of is plot values inside Segments option on Presentation tab

stigchel
Partner - Master
Partner - Master

Something like this? Also see attached

BarDual.png

rubenmarin

Hi Chee, you can add an expression like "=SecondDimension", unchecking 'bar' and selecting 'show in axis' in layout option will show the dimension on the axis.

If it's a long text it will overlap with other bars, works better on horizontal bar charts.

antoniotiman
Master III
Master III

Hi Chee,

try this in Expression

Dual(Only(Dim2)&'-'&YourExpression,YourExpression)

Regards,

Antonio

antoniotiman
Master III
Master III

Like this

Not applicable
Author

yup. i want something like this. But i dont see any attachment

Not applicable
Author

can you explain more on this?

Not applicable
Author

check the values on data points option for each expression in expression tab

rubenmarin

Hi Chee, I attach a simple example.

The second expression is the one that shows the dimension value