DataSet-class: DataSet class

Description Details Slots Author(s)

Description

DataSet is an object which holds all information about data for AmStockChart

Details

Run api("DataSet") for more information.

Slots

dataProvider

list, the data set data. Important: the data sets need to come pre-ordered in ascending order. Data with incorrect order might result in visual and functional glitches on the chart.

fieldMappings

list, field mappings. Field mapping is an object with fromField and toField properties. fromField is the name of your value field in dataProvider. toField might be chosen freely, it will be used to set value/open/close/high/low fields for the StockChart. Example: fromField:"val1", toField:"value".

stockEvents

list of StockEvent.

listeners

list containining the listeners to add to the object. The list must be named as in the official API. Each element must be a character string.

otherProperties

list containing other avalaible properties not yet implemented in the package.

value

numeric.

Author(s)

datastorm-open


rAmCharts documentation built on Dec. 6, 2019, 5:11 p.m.