套件 | mx.charts.chartClasses |
類別 | public class RenderData |
繼承 | RenderData Object |
子類別 | AreaSeriesRenderData, BarSeriesRenderData, BubbleSeriesRenderData, ColumnSeriesRenderData, HLOCSeriesRenderData, LineSeriesRenderData, PieSeriesRenderData, PlotSeriesRenderData |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
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 | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
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 | ||
length : uint [唯讀]
The number of items represented in this render data. | RenderData | ||
visibleRegion : Rectangle
The rectangle describing the possible coordinate range
that a series can display on screen. | RenderData |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | RenderData | ||
Creates a copy of the render data. | RenderData | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
bounds | 屬性 |
public var bounds:Rectangle
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The bounds of all of the items a series displays on screen,
relative to the series's coordinate system.
This value is used by the various effects during rendering.
A series fills in this value when the effect
calls the getElementBounds()
method.
A series does not need to fill in this field
unless specifically requested.
cache | 屬性 |
public var cache:Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The list of ChartItems representing the items
in the series's dataProvider
.
elementBounds | 屬性 |
public var elementBounds:Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Array of rectangles describing the bounds of the series's
ChartItems, relative to the series's coordinate system.
Effects use this Array
to generate the effect rendering.
An effect calls the getElementBounds()
method, which
causes the series to fill in this value.
A series does not need to fill in this field
unless specifically requested.
Effects modify this Array to relect current positions
of the items during the effect duration.
If this value is filled in on the series's renderData
,
the series renders itself based on these rectangles
rather than from the series's data.
filteredCache | 屬性 |
public var filteredCache:Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The list of ChartItems representing the items
in the series's dataProvider
that remain after filtering.
length | 屬性 |
visibleRegion | 屬性 |
public var visibleRegion:Rectangle
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The rectangle describing the possible coordinate range
that a series can display on screen.
This value is used by the various effects during rendering.
An effect calls the getElementBounds()
method
to fill in this value.
A series does not need to fill in this field
unless specifically requested.
If left null
, effects assume the visible region of an element
is the bounding box of the element itself (0, 0, width, height),
expressed relative to the element.
RenderData | () | 建構函式 |
public function RenderData(cache:Array = null, filteredCache:Array = null)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數cache:Array (default = null ) — The list of ChartItems representing the items
in the series's dataProvider .
| |
filteredCache:Array (default = null ) — The list of ChartItems representing the items
in the series's dataProvider that remain after filtering.
|
clone | () | 方法 |
public function clone():RenderData
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Creates a copy of the render data. In the new copy, properties that point to other objects continue to point to the same objects as the original.
If you subclass this class, you must override this method.
傳回值RenderData — The new copy of the RenderData object.
|
Tue Jun 12 2018, 03:47 PM Z