echarts
echarts copied to clipboard
remove brush
通过事件或者点击brush按钮添加了选框后,除了点击clear按钮还有其他方式移除选框吗? 如何通过JS调用API直接移除
myChart.dispatchAction({
type: 'brush',
areas: []
});
this.chart.dispatchAction({
type: 'brush',
areas: []
});
this.chart.dispatchAction({
type: 'takeGlobalCursor',
key: 'brush',
brushOption: {
brushType: false,
brushMode: 'single'
}
})