new Chart(input)
Constructor for Chart object. Each chart is represented by one instance.
Parameters:
Name | Type | Description |
---|---|---|
input |
Object | Options describing which chart to display, how it behaves etc. |
Members
_rawServerResponse
Data received from server for this chart instance on init
Methods
destroy()
Destroys this chart instance
handleDataUpdate()
Update this widget if new and different data is received from server.
load()
Updates the chart with data available in the object store. It recalculates the data series and renders the chart.
refresh()
Re-renders the chart without reloading data or options.
render()
Renders the graph with available data and configuration.