zhiyuc123 opened a new pull request #12550:
URL: https://github.com/apache/incubator-echarts/pull/12550
<!-- Please fill in the following information to help us review your PR more
efficiently. -->
## Brief Information
This pull request is in the type of:
- [ ] bug fixing
- [x] new feature
- [ ] others
### What does this PR do?
<!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
allow user to custom brush style in toolbox.feature.dataZoom
### Fixed issues
<!--
- #xxxx: ...
-->
#8964
## Details
### Before: What was the problem?
<!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
<!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
框选型数据区域缩放组件不能更改选框颜色,在暗色主题下表现不好
### After: How is it fixed in this PR?
允许用户通过配置自定义选框样式
toolbox: {
feature: {
dataZoom: {
show: true,
yAxisIndex: null,
brushStyle: {
borderWidth: 2,
color: 'blue',
opacity: 0.1,
borderColor: '#596A76',
}
},
}
},
<!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED.
-->
<!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
## Usage
### Are there any API changes?
- [ ] The API has been changed.
<!-- LIST THE API CHANGES HERE -->
### Related test cases or examples to use the new APIs
NA.
## Others
### Merging options
- [ ] Please squash the commits into a single one when merge.
### Other information
----------------------------------------------------------------
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]