I tried this and I believe it is scaling correctly, however, neither Y axis have any numbers displaying the scale. They are both blank at the moment. I think they are default to autoscale, but I would like to be able to add hard min and maximum values and be able to see the scale on the sides of the graph. Any ideas?
With Chart.ChartAreas(0).AxisY
.Minimum = 15
.Maximum = 50
.LabelStyle.Interval = 10
End With
With Chart.ChartAreas(0).AxisY2
.Minimum = 200
.Maximum = 1200
.LabelStyle.Interval = 200
End With
You will need to play around with the values until you get what you want, but this should do the trick.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.