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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Single Line Chart with Legend Showing

Hi all,

I have a Line chart with only one line/expression. Is there any way (property) I can set so the legend always shows up in the right?

When I have two expressions in this graph, the legend shows. But if I remove one of the expressions, and there is one line left in the graph, the legend for this one is also removed...

Hope anyone can help

PS: QlikView version - 10SR4

6 Replies
Anonymous
Not applicable
Author

Hi

     Hope this attached file will help for your problem.

Regards

Ashok

Anonymous
Not applicable
Author

Hi

     You can leave the second expr also as blank without using the expression

     Try it and let me know

Regards

Ashok

Anonymous
Not applicable
Author

Helps Thank You

NareshGuntur
Partner - Specialist
Partner - Specialist

Hi Ashok,

This works fine if I have only one expression.

I have an issue where I have two expressions and if only one expression has value, it is showing only one line. 

The catch here is both the color changes and the legend disappears.

Cheers,

Naresh

Not applicable
Author

Hi cricketball,

You can put an 'text object' into your graph, so you will see your 'legend'. Then you could modify an object text as you wanna it.

I hope that it help you!

Anonymous
Not applicable
Author

Hello

I have solved this same problem by adding an auxiliary line with expression value =0, and tick it as "Invisible".

Hope it helps.

regards

Raúl