new ApexChart(input)
Constructor for ApexChart object. Each chart is represented by one instance.
Parameters:
Name | Type | Description |
---|---|---|
input |
Object | Options describing which chart to display, how it behaves etc. |
Methods
destroy()
Destroys this chart instance
refresh()
Re-renders the chart without reloading data or options.
render()
Renders the graph with available data and configuration.
update(options)
Re-renders the chart with updated options.
Parameters:
Name | Type | Description |
---|---|---|
options |
object | options for updating chart |