Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

legend not showing

hi does anyone know how to add the legend to my graph. The graph is a single line/expression.

The legend appears if i add 2 expressions but why not for 1?

see image below

error loading image

1 Reply
vgutkovsky
Master II
Master II

Why would you need a legend if you just have 1 expression? The purpose of a legend is to let users easily distinguish which line/bar represents which expression. If you only have 1 expression, you can just make that the title of your chart...If you really need the expression to appear as a legend, you can create another expression with a constant that is very high (e.g. 999999), deselect "Expression as Legend" for the constant, and then set a static max in the axes tab to be below the constant (to hide the second expression).

Regards,