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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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.  🙂