HasAutoMinimum Property Example

This example sets the minimum scale value for the specified axis if the minimum value is currently set to be determined automatically.

Set c = ChartSpace1.Constants
Set axisScale = ChartSpace1.Charts(0).Axes(c.chAxisPositionLeft).Scaling
If axisScale.HasAutoMinimum Then axisScale.Minimum = 10