Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IChartDataGroup

Package | org.apache.flex.charts.core
Interface | public interface IChartDataGroup extends IItemRendererParent, IParent, IEventDispatcher, flash.events.IEventDispatcher
Implementors | ChartDataGroup, SVGChartDataGroup

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IChartDataGroup is the interface for the parent element of chart itemRenderers.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | numElements : int [read-only] The number of elements in the parent. | IParent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addElement(c:Object, dispatchEvent:Boolean = true):void Add a component to the parent. | IParent
|  | addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void Add a component to the parent. | IParent
|  | getElementAt(index:int):Object Get a component from the parent. | IParent
|  | getElementIndex(c:Object):int Gets the index of this subcomponent. | IParent
|  | getItemRendererForIndex(index:int):IItemRenderer The IItemRendererParent interface is the basic interface for the container that parents item renderers. | IItemRendererParent
|  | getItemRendererForSeriesAtIndex(series:IChartSeries, index:int):IChartItemRenderer Returns the itemRenderer that matches both the series and child index value. | IChartDataGroup
|  | getItemRendererUnderPoint(point:Point):IChartItemRenderer Returns the first itemRenderer that encompasses the point. | IChartDataGroup
|  | removeAllElements():void | IItemRendererParent
|  | removeElement(c:Object, dispatchEvent:Boolean = true):void Remove a component from the parent. | IParent
|  | updateAllItemRenderers():void | IItemRendererParent

Method Detail

getItemRendererForSeriesAtIndex | () | method

`public function getItemRendererForSeriesAtIndex(series:IChartSeries, index:int):IChartItemRenderer`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the itemRenderer that matches both the series and child index value.

Parameters

| `series:IChartSeries`
| `index:int`

Returns

| `IChartItemRenderer`

getItemRendererUnderPoint | () | method |

`public function getItemRendererUnderPoint(point:Point):IChartItemRenderer`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the first itemRenderer that encompasses the point.

Parameters

| `point:Point`

Returns

| `IChartItemRenderer`

Mon Sep 5 2016, 07:19 AM -07:00