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
  lowerMargin : Number
The margin, in pixels, required below the value in order to render properly.
BoundedValue
  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
Property Detail
lowerMarginproperty
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.

upperMarginproperty 
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.

valueproperty 
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.