Listening to Other Query Events
This applies to: Visual Data Discovery
Chart developers may need to apply particular logic to their charts whenever a query event is triggered. Handler functions can be defined to override the following list of query methods:
controller.onStart
: Called as soon as the query execution begins.controller.onNoDataFound
: Called when no data is available for the given query.controller.onNotDirtyData
: Called as soon as all of the data is received.controller.onStreamError
: Called when the query execution returns an error from the server.