Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display diagonal line when only one point is selected

I have a graph like this:



Unbenannt.JPG

This is my dimension tab:


Unbenannt.JPG


This is my expression tab:


Unbenannt.JPG


The third dimension is there to create the diagonal line (see the linear reference at the bottom left in my expression tab). I got the idea from here (Reference Line)!

When I select only one point in the graph the line disappears (see below). But I want it to remain there. Other solutions to display a diagonal line are welcome too. Thanks for the help!!

Unbenannt.JPG

1 Solution

Accepted Solutions
Not applicable
Author

My workaround is to create a second scatter chart which will only show up when only one entity is selected. Then make the background of that scatter chart transparent and add a diagonal line object. You need also to fix the axis both to 100%.


xcm0l.jpg

View solution in original post

4 Replies
zhadrakas
Specialist II
Specialist II

Hello,

Try Sum({1} IST) instead of Sum(IST).

regards

Tim

Not applicable
Author

Nice idea but unfortunately the not selected points stay in the graph (see below):

Unbenannt.JPG

Unbenannt.JPG

Not applicable
Author

My workaround is to create a second scatter chart which will only show up when only one entity is selected. Then make the background of that scatter chart transparent and add a diagonal line object. You need also to fix the axis both to 100%.


xcm0l.jpg

Not applicable
Author

There is also the possibility to make those points at the bottom transparent and then it will look like that it works. The only two drawbacks are the performance because the selection stays the same and the legend still shows the not selected points but in grey color.