StatsGrid.IndicatorEvent
Used to notify that an indicator has been added to or removed from selected indicators.
Parameters
(* means the parameter is required)
Name | Type | Description | Default value |
---|---|---|---|
\* datasource | Number | datasource id where the indicator can be found | |
\* indicator | Number | id for the indicator | |
selections | Object | Object containing key-value pairs with the indicator parameters like { year : 2016 } | {} |
removed | Boolean | true if indicator was removed | false |
Event methods
getName()
Returns event name
getDatasource()
Returns datasource id
getIndicator()
Returns indicator id
getSelections()
Selections that user made for the indicator like { year : 2016 }
isRemoved()
True if the indicator was removed, false if it was added.