HasAutoMinimum Property

Microsoft Office Web Components Visual Basic

True if the minimum scale value for the specified axis is set to be determined automatically. The default value is True.Read/write Boolean.

expression.HasAutoMinimum

expression    Required. An expression that returns a ChScaling object.

Example

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

Sub SetScaling()
    Dim chConstants
    Dim axisScale
    
    Set chConstants = ChartSpace1.Constants
    Set axisScale = ChartSpace1.Charts(0).Axes(chConstants.chAxisPositionValue).Scaling
    If axisScale.HasAutoMinimum Then axisScale.Minimum = 10
End Sub