Extends
- Controller
Methods
connect()
Subscribe to the store. Debounces the method for handling window resizes
disconnect()
Unsubscribe from the store
histogram()
Creates a new instance of the Histogram class if not created, otherwise returns the instance of the class
isDataVizEmpty()
Checks if the visualisation has been created yet
reconnect()
Handles a repeated Turbo visit to the dashboard page.
resize()
Handles a resize of the screen by width but ignores height changes. Deletes the current visualisation and the instance of the Histogram class so it will be created from scratch again.
storeUpdated()
When the context is selected the data visualisation will either be creted or updated