| Package | com.amcharts.stock |
| Class | public class DataSet |
| Inheritance | DataSet flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| categoryField : String
Category field name in your dataProvider.
| DataSet | ||
| color : Number
Color of the data set
| DataSet | ||
| compared : Boolean
Whether this data set is selected for comparing.
| DataSet | ||
| dataProvider : Object
Data provider of the data set.
| DataSet | ||
| description : String
Description of the data set.
| DataSet | ||
| fieldMappings : Array
Array of field mappings.
| DataSet | ||
| showInCompare : Boolean
Specifies whether this data set should be visible in "compare to" list.
| DataSet | ||
| showInSelect : Boolean
Specifies whether this data set should be visible in "select" dropdown.
| DataSet | ||
| stockEvents : Array
Array of stock events.
| DataSet | ||
| stockEventsDataProvider : ArrayCollection
ArrayCollection of stock events.
| DataSet | ||
| title : String
DataSet title
| DataSet | ||
| uid : String
Unique id of a data set.
| DataSet | ||
| Method | Defined by | ||
|---|---|---|---|
|
DataSet()
Constructor.
| DataSet | ||
|
addStockEvent(value:StockEvent):void
Adds stock event to the data set.
| DataSet | ||
|
removeStockEvent(value:StockEvent):void
Removes stock event from the data set.
| DataSet | ||
| categoryField | property |
categoryField:String [read-write]Category field name in your dataProvider.
Implementation public function get categoryField():String
public function set categoryField(value:String):void
| color | property |
color:Number [read-write]Color of the data set
Implementation public function get color():Number
public function set color(value:Number):void
| compared | property |
compared:Boolean [read-write]Whether this data set is selected for comparing.
The default value is false.
public function get compared():Boolean
public function set compared(value:Boolean):void
| dataProvider | property |
dataProvider:Object [read-write]Data provider of the data set.
Implementation public function get dataProvider():Object
public function set dataProvider(value:Object):void
| description | property |
description:String [read-write]Description of the data set. It will be displayed in chartHeader if header is created.
Implementation public function get description():String
public function set description(value:String):void
| fieldMappings | property |
fieldMappings:Array [read-write]Array of field mappings.
Implementation public function get fieldMappings():Array
public function set fieldMappings(value:Array):void
| showInCompare | property |
showInCompare:Boolean [read-write]Specifies whether this data set should be visible in "compare to" list.
The default value is true.
public function get showInCompare():Boolean
public function set showInCompare(value:Boolean):void
| showInSelect | property |
showInSelect:Boolean [read-write]Specifies whether this data set should be visible in "select" dropdown.
The default value is true.
public function get showInSelect():Boolean
public function set showInSelect(value:Boolean):void
| stockEvents | property |
stockEvents:Array [read-write]Array of stock events.
Implementation public function get stockEvents():Array
public function set stockEvents(value:Array):void
| stockEventsDataProvider | property |
stockEventsDataProvider:ArrayCollection [read-write]ArrayCollection of stock events. Use it instead of stockEvents for setting events if you want changes in your events data provider to be monitored. If you add/remove stock events to stockEventsDataProvider object, the chart will update automatically.
Implementation public function get stockEventsDataProvider():ArrayCollection
public function set stockEventsDataProvider(value:ArrayCollection):void
| title | property |
title:String [read-write]DataSet title
Implementation public function get title():String
public function set title(value:String):void
| uid | property |
uid:String [read-write]Unique id of a data set.
Implementation public function get uid():String
public function set uid(value:String):void
| DataSet | () | constructor |
public function DataSet()Constructor.
| addStockEvent | () | method |
public function addStockEvent(value:StockEvent):voidAdds stock event to the data set.
Parametersvalue:StockEvent |
| removeStockEvent | () | method |
public function removeStockEvent(value:StockEvent):voidRemoves stock event from the data set.
Parametersvalue:StockEvent |