Make the X and Y axis scales equal on an Excel chart

前端 未结 3 584
甜味超标
甜味超标 2021-01-23 06:42

I\'d like the X and Y axes of my Excel charts to have the same scale on the screen, because I\'m plotting geographical data. A 1km by 1km square should look like a square, not l

3条回答
  •  野的像风
    2021-01-23 07:43

    In addition to guitarthrower's answer you will need to do the following: Select the 'Plot Area' of the chart and then manually set the height and width of the plot area.

    Sheets("Chart1").PlotArea.Select
      Selection.Height = 500
      Selection.Width = 500
    

    Just setting the axis min and max values will still allow the chart to be 'squished'.

提交回复
热议问题