DataSet
Type class
DataSet is objects which holds all information about data.
Sources
This information about DataSet is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
DataSet does not extend any other symbol.
DataSet is not extended by any other symbol.
Properties
categoryFieldType
stringDefaultCategory field name in your dataProvider.
colorType
stringDefaultColor of the data set. One of colors from AmStockChart.colors array will be used if not set.
comparedType
booleanDefaultfalseWhether this data set is selected for comparing. If you change this property, you should call stockChart.validateData() method in order the changes to be applied.
dataProviderType
arrayDefaultData provider of the data set.
fieldMappingsType
arrayDefaultArray of field mappings. Field mapping is an object with fromField and toField properties. fromField is a 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 StockGraph. Example: {fromField:"val1", toField:"value"}.
showInCompareType
booleanDefaulttrueSpecifies whether this data set should be visible in "compare to" list.
showInSelectType
booleanDefaulttrueSpecifies whether this data set should be visible in "select" dropdown.
stockEventsType
arrayDefaultArray of StockEvent objects.
titleType
stringDefaultDataSet title.
Methods
DataSet does not have any methods.
Events
DataSet does not have any events.