[Feature] limit the movement boundary of the brush box
Open
en
new-feature
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
https://github.com/apache/echarts/assets/72436165/6a4b673d-7e97-40ac-8b4c-9749699b2813
[This is an demo from the official website.](https://echarts.apache.org/examples/zh/editor.html?c=bar-brush)
I want to prevent the brush box from flowing out of the container, but I can't find the appropriate configuration option. Is it not implemented yet? (any reply would be appreciated!!!)
### What does the proposed API look like?
The chart limits the movement of the brush box based on the max and min on the x and y axes.
or like this
```js
brush: {
min: xxx,
max: xxx,
}
```
Contributor guide
Assessment
This issue has not been assessed yet.