Orientation Property [Auto3DXYZBarChart, Auto3DXYZFloatingBarChart, AutoBarChart, AutoFloatingBar, AutoHistogram]

The Orientation property returns or sets the bar chart or floating bar chart orientation. Returns a Long.

Syntax

object.Orientation

object.Orientation = Orientation

 

Parameter Type Description
Orientation Long required, grfOrientation

 

Example 1

This example shows how to set the bar chart orientation.

Bar1.Orientation = grfHorizontal

 

Example 2

This example shows how to return the bar chart orientation.

Debug.Print Bar1.Orientation

 

Used by: Auto3DXYZBarChart object, AutoBarChart object, AutoFloatingBar object, AutoHistogram object