Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
BoundedValue

Package | mx.charts.chartClasses
Class | public class BoundedValue
Inheritance | BoundedValue 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

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | BoundedValue(value:Number, lowerMargin:Number = 0, upperMargin:Number = 0) Constructor. | BoundedValue

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.

Sun Mar 5 2017, 03:42 PM +11:00