Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Automatic scale for scatter chart

Hello,

 

I am facing an issue I do not manage to solve.

When I display my scatter chart the auto scale concentrates all the points in the middle of the ordinate axis.

I want the points to be well spread on the ordinate axis.

Does somebody knows how to do it ?

Cedric.

1 Solution

Accepted Solutions
fosuzuki
Partner - Specialist III
Partner - Specialist III

You could play with the Axes' Scales' Static Min/Max.

Go to Chart Properties > Axes > Scale, check the static min and static max and use these formulas:

Y Axis Static Min = min(aggr(avg ([X_Axis]), Dim))

X Axis Static Max = max(aggr(avg ([X_Axis]), Dim))

Y Axis Static Min = min(aggr(avg ([Y_Axis]), Dim))

Y Axis Static Max = max(aggr(avg ([Y_Axis]), Dim))

You can add a percentage to these values to create a "margin" to the sides.

Hope this helps

Fernando

View solution in original post

3 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

You could play with the Axes' Scales' Static Min/Max.

Go to Chart Properties > Axes > Scale, check the static min and static max and use these formulas:

Y Axis Static Min = min(aggr(avg ([X_Axis]), Dim))

X Axis Static Max = max(aggr(avg ([X_Axis]), Dim))

Y Axis Static Min = min(aggr(avg ([Y_Axis]), Dim))

Y Axis Static Max = max(aggr(avg ([Y_Axis]), Dim))

You can add a percentage to these values to create a "margin" to the sides.

Hope this helps

Fernando

Not applicable
Author

Hello Fernando,

Thank you for your help.

This is a good solution.

Cedric.

Not applicable
Author

we can show the values inside/outside   values in bubbles