Deohgu commented on issue #18446:
URL: https://github.com/apache/echarts/issues/18446#issuecomment-1804306347
I found a hacky fix for the above visual bug, which might also shed light on
the cause.
With the above implementation, I now also listen to the brush clear event,
and call `setOption`. This seems to be enough to remove that selected area
brush.
```typescript
this.chartInstance.on('brush', params => {
if (params['command'] === 'clear') {
const option = this.chartInstance.getOption();
this.chartInstance.setOption(option);
}
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]