Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
BarSeriesRenderData

Package | mx.charts.series.renderData
Class | public class BarSeriesRenderData
Inheritance | BarSeriesRenderData RenderData Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Represents all the information needed by the BarSeries to render.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | bounds : Rectangle The bounds of all of the items a series displays on screen, relative to the series's coordinate system. | RenderData
|  | cache : Array The list of ChartItems representing the items in the series's dataProvider. | RenderData
|  | elementBounds : Array An Array of rectangles describing the bounds of the series's ChartItems, relative to the series's coordinate system. | RenderData
|  | filteredCache : Array The list of ChartItems representing the items in the series's dataProvider that remain after filtering. | RenderData
|  | labelData : Object A structure of data associated with the layout of the labels rendered by the bar series. | BarSeriesRenderData
|  | labelScale : Number The scale factor of the labels rendered by the bar series. | BarSeriesRenderData
|  | length : uint [read-only] The number of items represented in this render data. | RenderData
|  | renderedBase : Number The horizontal position of the base of the bars, in pixels. | BarSeriesRenderData
|  | renderedHalfWidth : Number Half the width of a bar, in pixels. | BarSeriesRenderData
|  | renderedYOffset : Number The offset of each bar from its y value, in pixels. | BarSeriesRenderData
|  | visibleRegion : Rectangle The rectangle describing the possible coordinate range that a series can display on screen. | RenderData

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | BarSeriesRenderData(cache:Array = null, filteredCache:Array = null, renderedBase:Number = 0, renderedHalfWidth:Number = 0, renderedYOffset:Number = 0, labelScale:Number = 1, labelData:Object = null) Constructor. | BarSeriesRenderData
|  | clone():RenderData Creates a copy of the render data. | RenderData

Property Detail

labelData | property

`public var labelData:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

A structure of data associated with the layout of the labels rendered by the bar series.

labelScale | property |

`public var labelScale:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The scale factor of the labels rendered by the bar series.

renderedBase | property |

`public var renderedBase:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The horizontal position of the base of the bars, in pixels.

renderedHalfWidth | property |

`public var renderedHalfWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Half the width of a bar, in pixels.

renderedYOffset | property |

`public var renderedYOffset:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The offset of each bar from its y value, in pixels.

Constructor Detail

BarSeriesRenderData | () | Constructor

`public function BarSeriesRenderData(cache:Array = null, filteredCache:Array = null, renderedBase:Number = 0, renderedHalfWidth:Number = 0, renderedYOffset:Number = 0, labelScale:Number = 1, labelData:Object = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `cache:Array` (default = `null`)`` — The list of BarSeriesItem objects representing the items in the dataProvider
| `filteredCache:Array` (default = `null`)`` — The list of BarSeriesItem objects representing the items in the dataProvider that remain after filtering.
| `renderedBase:Number` (default = `0`)`` — The horizontal position of the base of the bars, in pixels.
| `renderedHalfWidth:Number` (default = `0`)`` — Half the width of a bar, in pixels.
| `renderedYOffset:Number` (default = `0`)`` — The offset of each bar from its y value, in pixels.
| `labelScale:Number` (default = `1`)`` — The scale factor of the labels rendered by the bar series.
| `labelData:Object` (default = `null`)`` — A structure of data associated with the layout of the labels rendered by the bar series.

Wed Nov 15 2017, 09:50 AM +01:00