Open 0x111111 opened 5 years ago
myChart.dispatchAction({ type: 'brush', areas: [ { brushType: 'lineX', coordRange: ['2004-01-01', '2004-02-17'], xAxisIndex: 0 } ] });
<Echarts dispatchAction={this.state.dispatchAction} option={} />
我试了并无效果
echarts 的例子在这里 http://www.echartsjs.com/examples/editor.html?c=candlestick-brush
Have you overcome this difficulty?
myChart.dispatchAction({ type: 'brush', areas: [ { brushType: 'lineX', coordRange: ['2004-01-01', '2004-02-17'], xAxisIndex: 0 } ] });
<Echarts dispatchAction={this.state.dispatchAction} option={} />
我试了并无效果
echarts 的例子在这里 http://www.echartsjs.com/examples/editor.html?c=candlestick-brush