Language Version: | ActionScript 3.0 |
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 var lowerMargin:Number
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The margin, in pixels, required below the value
in order to render properly.
public var upperMargin:Number
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The margin, in pixels, required above the value
in order to render properly.
public var value:Number
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The value to be rendered.
public function BoundedValue(value:Number, lowerMargin:Number = 0, upperMargin:Number = 0)
Language Version: | ActionScript 3.0 |
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.
|