The global object
controller exposed the Zoomdata custom chart API.
controller object contains several properties holding information about the chart.
These include, but are not limited to:
- HTML Element to be used as a chart container (
- Object with properties containing the configuration of each query variable (
- Object with the information about the current Zoomdata data source (
- Object with properties to access the value of each constant variable (
Handler functions can override several methods of the
controller object to react to chart events like data updates, chart resizing, and query errors.
Triggering these events execute the specified handler function.
For more information about the
controller properties and methods, visit the individual guides for tips on how to use custom chart API.