Methods
(static) getOption()
Contains configuration item and data merged from previous setOption.
Example
this.getOption()
Returns:
Returns options object
(static) hideLoading()
Hides loading animation effect. This is opposite of showLoading function
Example
this.hideLoading()
(static) resize()
Resizes chart, which should be called manually when container size changes.
Example
this.resize()
(static) setOption()
All parameters and data can be modified through setOption notMerge - Whether not to merge with previous option. If true, all of the current components will be removed and new components will be created according to the new option. lazyUpdate - Whether not to update chart immediately, stating update chart synchronously. If true, the chart will be updated in the next animation frame. var option = { xAxis: [ { id: 'm', interval: 5 }, { id: 'n', name: 'nnn', interval: 6 } { id: 'q', interval: 7 } ] }
Example
this.setOption(option, notMerge, lazyUpdate)
Returns:
Returns options object
(static) showLoading()
Shows loading animation effect. This is opposite of hideLoading function
Example
this.showLoading()