eChart

eChart

ConnexCS eChart Graph Component

Methods

(static) getOption()

Source:

Contains configuration item and data merged from previous setOption.

Example
this.getOption()
Returns:

Returns options object

(static) hideLoading()

Source:

Hides loading animation effect. This is opposite of showLoading function

Example
this.hideLoading()

(static) resize()

Source:

Resizes chart, which should be called manually when container size changes.

Example
this.resize()

(static) setOption()

Source:

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()

Source:

Shows loading animation effect. This is opposite of hideLoading function

Example
this.showLoading()