DataSet is an object which holds all information about data for AmStockChart
api("DataSet") for more information.
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.
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".
list of StockEvent.
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.
containing other avalaible properties not yet implemented in the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.