Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.charts.chartClasses 
IBar 
Packagemx.charts.chartClasses
Interfacepublic interface IBar
Implementors BarSeries, BarSet

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The IBar interface is implemented by any any series that can be clustered vertically, such as a BarSeries. The BarSet series type requires that any sub-series assigned to it implement this interface.



Public Properties
 PropertyDefined By
  barWidthRatio : Number
[write-only] Specifies how wide to render the items relative to the category.
IBar
  maxBarWidth : Number
[write-only] Specifies how wide to draw the items, in pixels.
IBar
  offset : Number
[write-only] Specifies how far to offset the center of the items from the center of the available space, relative the category size.
IBar
Property Detail

barWidthRatio

property
barWidthRatio:Number  [write-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Specifies how wide to render the items relative to the category. A value of 1 uses the entire space, while a value of 0.6 uses 60% of the category's available space. You typically do not set this property directly. A governing BarSet or BarChart would implicitly assign this value. The actual size used is the smaller of barWidthRatio and the maxbarWidth property



Implementation
    public function set barWidthRatio(value:Number):void

maxBarWidth

property 
maxBarWidth:Number  [write-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Specifies how wide to draw the items, in pixels. The actual item width used is the smaller of this style and the barWidthRatio property. You typically do not set this property directly. The BarSet or BarChart objects assign this value.



Implementation
    public function set maxBarWidth(value:Number):void

offset

property 
offset:Number  [write-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Specifies how far to offset the center of the items from the center of the available space, relative the category size. The range of values is a percentage in the range -100 to 100. Set to 0 to center the items in the space. Set to -50 to center the item at the beginning of the available space. You typically do not set this property directly. The BarSet or BarChart objects assign this value.

The default value is 0.



Implementation
    public function set offset(value:Number):void