BarWidth Property

The BarWidth property returns or sets bar chart, floating bar, polar bar chart, and histogram bar width value as a percent. When using BarWidth with hi-low-close plots, the bar width is in page units. Returns a Double.

Syntax

object.BarWidth

object.BarWidth = BarWidth

 

Parameter Type Description
BarWidth Double required, percent or page units, see above

 

Example 1

This example shows how to set the bar width.

Bar1.barWidth = 25

Example 2

This example shows how to return the bar width.

Debug.Print Bar1.barWidth

 

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