Orientation Property

Microsoft Office Web Components Visual Basic

constant that represents the field set orientation. A field set can be located on both the summary axis and the column, row, or filter axis at the same time. Read-only.

ChAxis object: Returns or sets a Long that represents the orientation of the labels on the specified axis. Can be a ChartLabelOrientationEnum constant. Read/write.

ChScaling object: Returns or sets a ChartScaleOrientationEnum constant that represents the scaling orientation. Changing the value of this property flips the chart. Read/write.

expression.Orientation

expression    Required. An expression that returns one of the object in the Applies To list.

Example

This example sets the scaling orientation for the specified axis.

Sub SetAxisOrientation()

   Dim chConstants

   Set chConstants = ChartSpace1.Constants

   ChartSpace1.Charts(0).Axes(1).Scaling.Orientation = chConstants.chScaleOrientationMaxMin

End Sub