Scaling Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Returns the ChScaling object for the specified axis.
expression.Scaling
expression Required. An expression that returns a ChAxis object.
Example
This example adds a second value (y) axis to the right side of the specified chart. The second axis uses the same scale as the primary value axis.
Sub AddAxis()
Dim chConstants
Dim axisScale
Set chConstants = ChartSpace1.Constants
Set axisScale = ChartSpace1.Charts(0).Axes(chConstants.chAxisPositionLeft).Scaling
ChartSpace1.Charts(0).Axes.Add axisScale, chConstants.chAxisPositionRight, _
chConstants.chValueAxis
End Sub