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 horizontal and vertical lines in a scatter graph

On a scatter graph, I would like to display vertical and horizontal lines representing the median values of the X and Y values. These median values are in the data. This would divide the graph into quadrants. Is there any way to do this?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

On the Presentation tab of the properties window add two reference lines. One for the x-axis and one for the y-axis. You can use expressions for the reference lines. So if your x-axis dimension is named DimX then median(DimX) would be the expression for the x-axis reference line. Simply replace DimX with the name of your x-axis dimension.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

On the Presentation tab of the properties window add two reference lines. One for the x-axis and one for the y-axis. You can use expressions for the reference lines. So if your x-axis dimension is named DimX then median(DimX) would be the expression for the x-axis reference line. Simply replace DimX with the name of your x-axis dimension.


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you much.  I had looked all over for that.  🙂