Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.charts.chartClasses 
BoundedValue 
Packagemx.charts.chartClasses
Classpublic class BoundedValue
InheritanceBoundedValue Inheritance Object

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

A bounded value is used to represent a datapoint that a chart element intends to render on screen. ChartElements report BoundedValues, describing their data to an Axis object. The axis computes autogenerated ranges. A BoundedValue encapsulates both the value of the datapoint in a particualr dimension, as well as a margin, in pixels, that a ChartElement needs above or below the value in order to render it. Plots on a plot chart, for example, report their data with margins to accomodate the size of the plots. A column chart might report a margin in the Y axis to accomodate a label rendered above the chart.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  lowerMargin : Number
The margin, in pixels, required below the value in order to render properly.
BoundedValue
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  upperMargin : Number
The margin, in pixels, required above the value in order to render properly.
BoundedValue
  value : Number
The value to be rendered.
BoundedValue
Public Methods
 MethodDefined By
  
BoundedValue(value:Number, lowerMargin:Number = 0, upperMargin:Number = 0)
Constructor.
BoundedValue
 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
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
Property Detail

lowerMargin

property
public var lowerMargin:Number

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

The margin, in pixels, required below the value in order to render properly.

upperMargin

property 
public var upperMargin:Number

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

The margin, in pixels, required above the value in order to render properly.

value

property 
public var value:Number

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

The value to be rendered.

Constructor Detail

BoundedValue

()Constructor
public function BoundedValue(value:Number, lowerMargin:Number = 0, upperMargin:Number = 0)

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

Constructor.

Parameters
value:Number — The value to be rendered.
 
lowerMargin:Number (default = 0) — The lower margin.
 
upperMargin:Number (default = 0) — The upper margin.