lay-coder
lay-coder
this.map.chart.on('brush', (p: any) => { if (p.command === 'clear') { this.map.chart.dispatchAction({ type: 'takeGlobalCursor', key: 'brush', brushOption: { brushType: false, brushMode: 'single' } }) this.brushComplete() } else { const mapChart =...
this.chart.dispatchAction({ type: 'brush', areas: [] }); this.chart.dispatchAction({ type: 'takeGlobalCursor', key: 'brush', brushOption: { brushType: false, brushMode: 'single' } })