plainheart commented on issue #14264:
URL: https://github.com/apache/echarts/issues/14264#issuecomment-778188240
Perhaps, you could try to set it as follows,
```js
chart.setOption({
series: [{
markArea: {
// set markArea to be an empty array if invisible
data: visible ? markAreaData : []
}
}]
})
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]