...
Graph layers can be set to isometric scaling, which will result in the X and Y axes being forced to have the same length in pixels, for the same scale increment. When the layer is resized, the aspect ratio will be locked/maintained.
Thus for example, if X axis spans from 0 to 10 and y axis spans from 0 to 5, isometric scaling will result in a layer with height precisely equal to one-half of the width.
...