DataSetSelector
Type class
DataSetSelector is a tool for selecting data set's as main and for comparing with main data set.
Sources
This information about DataSetSelector is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
DataSetSelector does not extend any other symbol.
DataSetSelector is not extended by any other symbol.
Properties
comboBoxSelectTextType
stringDefaultSelect...Text displayed in the "compare to" combobox (when position is "top" or "bottom").
compareTextType
stringDefaultCompare to:Text displayed near "compare to" list.
listenersType
object[]You can add listeners of events using this property. Example: listeners = [{"event":"dataSetCompared", "method":handleEvent}];
listHeightType
numberDefault150The maximum height of the Compare to field in pixels.
positionType
stringDefaultright, left, top, bottomPossible values: "right", "left", "top", "bottom". "top" and "bottom" positions has a limitation - only one data set can be selected for comparing.
selectTextType
stringDefaultSelect:Text displayed near "Select" dropDown.
widthType
numberDefault180Width of a Data set selector, when position is "left" or "right".
Methods
addListener()Returns
Adds event listener to the object.type - string like 'dataSetSelected' (listed in 'events' section of this class). handler - function which is called when event happens
removeListener()Returns
Removes event listener from the object.
Events
dataSetComparedParam { type:
"dataSetCompared", target:DataSetSelector} &{type:"dataSetCompared", dataSet:dataSet}Dispatched when the data set is selected for comparing.
dataSetSelectedParam { type:
"dataSetSelected", target:DataSetSelector} &{type:"dataSetSelected", dataSet:dataSet}Dispatched when the main data set is changed.
dataSetUncomparedParam { type:
"dataSetUncompared", target:DataSetSelector} &{type:"dataSetUncompared", dataSet:dataSet}Dispatched when the data set which was selected for comparing is unselected.