DataSet-class | R Documentation |
DataSet is an object which holds all information about data for AmStockChart
Run api("DataSet")
for more information.
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
.
datastorm-open
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.