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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

bar chart show legend

Is it possible to create a bar with legend, but the bar chart has only one dimension.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

No, that's not possible. It doesn't make sense either. But you can always create a straight table and format it so it looks like a legend by adding the dimension, 1 as expression and remove totals, the header, the caption, make cell borders transparent etc. The example posted here has such a fake legend hovering on top of the chart.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

No, that's not possible. It doesn't make sense either. But you can always create a straight table and format it so it looks like a legend by adding the dimension, 1 as expression and remove totals, the header, the caption, make cell borders transparent etc. The example posted here has such a fake legend hovering on top of the chart.


talk is cheap, supply exceeds demand
stigchel
Partner - Master
Partner - Master

I'm assuming you also have just one expression? It is kind of possible with a second expression, for not getting stuck with a second (empty) legend entry use a combo chart instead (bar/line) first expression as bar, add second expression as line with 0 and make the second color on the color tab transparant. See attached