Packagecom.amcharts.stock
Classpublic class FieldMapping

FieldMapping class is used to tell the chart which field in your dataProvider will be used by graphs for their value, open, close, low, high fields. You can give the names freely. This means you only need to map fields containing numbers.



Public Properties
 PropertyDefined by
  fromField : String
Field name in your data provider.
FieldMapping
  toField : String
This will be a field name in agregated data provider, which will be generated by StockChart and then passed to StockPanels.
FieldMapping
Property detail
fromFieldproperty
fromField:String  [read-write]

Field name in your data provider.

Implementation
    public function get fromField():String
    public function set fromField(value:String):void
toFieldproperty 
toField:String  [read-write]

This will be a field name in agregated data provider, which will be generated by StockChart and then passed to StockPanels. When defining valueField, closeField, etc for the graphs, use toField names.

Implementation
    public function get toField():String
    public function set toField(value:String):void