Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Phantom expression for legend

Hi all,

I have a line chart which currently displays 3 expressions over time..

These expressions are returned in the legend along with their total accumulative value.

I would like to add a fourth expression in my legend, without plotting the expression itself?

Am sure this is simple, although have not been able to find any similar posts within the community.

Anyone have any thoughts?

Please advise,

Rich

1 Solution

Accepted Solutions
marcus_sommer

There is an option to hide an expression - about the middle within the tab expressions. Another possibility is to set the color to transparency with argb(0,0,0,0).

- Marcus

View solution in original post

3 Replies
marcus_sommer

There is an option to hide an expression - about the middle within the tab expressions. Another possibility is to set the color to transparency with argb(0,0,0,0).

- Marcus

Not applicable
Author

many thanks Marcus!

I set the expression value to 0, and then created my desired text and associated formula in the label...

For some reason I was looking for a more complex solution

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Rich,

What you need to do is add another expression to the chart. With this

selected untick the Line tick box and tick the Text As Popup one.

It won't show a label for this value, so you will have to add this manually

in the expression if you need one.

Hope that helps,

Steve