Stacked Property
The Stacked property returns or sets if the bars or histograms are displayed as stacked or adjacent in bar charts, polar bar charts, and histograms. Returns a Boolean.
Syntax
object.Stacked
object.Stacked = Stacked
Parameter | Type | Description |
Stacked | Boolean | required, true means the bars are stacked and false means the bars are adjacent |
Example 1
This example shows how to set the style for the bars to stacked.
Bar1.Stacked = True
Example 2
This example shows how to return the style for the bars.
Debug.Print Bar1.Stacked
Used by: Auto3DXYZBarChart object, AutoBarChart object, AutoHistogramObject, AutoPolarBarChart object