Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.charts.series.items 
BarSeriesItem 
Packagemx.charts.series.items
Classpublic class BarSeriesItem
InheritanceBarSeriesItem Inheritance ChartItem Inheritance EventDispatcher Inheritance Object

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

Represents the information required to render an item as part of a BarSeries. The BarSeries class passes these items to its itemRenderer when rendering.

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcurrentState : String
Defines the appearance of the ChartItem.
ChartItem
 Inheritedelement : IChartElement
The series or element that owns the ChartItem.
ChartItem
  fill : IFill
Holds the fill color of the item.
BarSeriesItem
 Inheritedindex : int
The index of the data from the series' data provider that the ChartItem represents.
ChartItem
 Inheriteditem : Object
The item from the series' data provider that the ChartItem represents.
ChartItem
 InheriteditemRenderer : IFlexDisplayObject
The instance of the chart's itemRenderer that represents this ChartItem.
ChartItem
  min : Number
The minimum value of this item converted into screen coordinates.
BarSeriesItem
  minFilter : Number
The minimum value of this item, filtered against the horizontal axis of the containing chart.
BarSeriesItem
  minNumber : Number
The minimum value of this item, converted to a number by the horizontal axis of the containing chart.
BarSeriesItem
  minValue : Object
The minimum value of this item.
BarSeriesItem
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  x : Number
The x value of this item converted into screen coordinates.
BarSeriesItem
  xFilter : Number
The x value of this item, filtered against the horizontal axis of the containing chart.
BarSeriesItem
  xNumber : Number
The x value of this item, converted to a number by the horizontal axis of the containing chart.
BarSeriesItem
  xValue : Object
The x value of this item.
BarSeriesItem
  y : Number
The y value of this item converted into screen coordinates.
BarSeriesItem
  yFilter : Number
The y value of this item, filtered against the vertical axis of the containing chart.
BarSeriesItem
  yNumber : Number
The y value of this item, converted to a number by the vertical axis of the containing chart.
BarSeriesItem
  yValue : Object
The y value of this item.
BarSeriesItem
Public Methods
 MethodDefined By
  
BarSeriesItem(element:BarSeries = null, data:Object = null, index:uint = 0)
Constructor.
BarSeriesItem
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
Returns a copy of this ChartItem.
ChartItem
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
Public Constants
 ConstantDefined By
 InheritedDISABLED : String = "disabled"
[static] Value that indicates the ChartItem appears disabled and cannot be selected.
ChartItem
 InheritedFOCUSED : String = "focused"
[static] Value that indicates the ChartItem has focus but does not appear to be selected.
ChartItem
 InheritedFOCUSEDSELECTED : String = "focusedSelected"
[static] Value that indicates the ChartItem appears to have focus and appears to be selected.
ChartItem
 InheritedNONE : String = "none"
[static] Value that indicates the ChartItem does not appear to be selected, does not have focus, and is not being rolled over.
ChartItem
 InheritedROLLOVER : String = "rollOver"
[static] Value that indicates the ChartItem appears as if the mouse was over it.
ChartItem
 InheritedSELECTED : String = "selected"
[static] Value that indicates the ChartItem appears selected but does not have focus.
ChartItem
Property Detail

fill

property
public var fill:IFill

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

Holds the fill color of the item.

min

property 
public var min:Number

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

The minimum value of this item converted into screen coordinates. The value of this field is undefined if the BarSeries is not stacked and its minField property is not set.

minFilter

property 
public var minFilter:Number

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

The minimum value of this item, filtered against the horizontal axis of the containing chart. This value NaN if the value lies outside the axis's range. The value of this field is undefined if the BarSeries is not stacked and its minField property is not set.

minNumber

property 
public var minNumber:Number

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

The minimum value of this item, converted to a number by the horizontal axis of the containing chart. The value of this field is undefined if the BarSeries is not stacked and its minField property is not set.

minValue

property 
public var minValue:Object

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

The minimum value of this item. The value of this field is undefined if the BarSeries is not stacked and its minField property is not set.

x

property 
public var x:Number

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

The x value of this item converted into screen coordinates.

xFilter

property 
public var xFilter:Number

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

The x value of this item, filtered against the horizontal axis of the containing chart. This value is NaN if the value lies outside the axis's range.

xNumber

property 
public var xNumber:Number

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

The x value of this item, converted to a number by the horizontal axis of the containing chart.

xValue

property 
public var xValue:Object

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

The x value of this item.

y

property 
public var y:Number

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

The y value of this item converted into screen coordinates.

yFilter

property 
public var yFilter:Number

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

The y value of this item, filtered against the vertical axis of the containing chart. This value is NaN if the value lies outside the axis's range.

yNumber

property 
public var yNumber:Number

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

The y value of this item, converted to a number by the vertical axis of the containing chart.

yValue

property 
public var yValue:Object

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

The y value of this item.

Constructor Detail

BarSeriesItem

()Constructor
public function BarSeriesItem(element:BarSeries = null, data:Object = null, index:uint = 0)

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

Constructor.

Parameters
element:BarSeries (default = null) — The owning series.
 
data:Object (default = null) — The item from the dataProvider that this ChartItem represents.
 
index:uint (default = 0) — The index of the item from the series's dataProvider.