# QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results 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  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

3 Replies  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,  