You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/27 13:01:11 UTC
[GitHub] [incubator-echarts] tadeusz-lewandowski opened a new issue #11728:
dataZoom of type 'inside' - custom zoom selection area color
tadeusz-lewandowski opened a new issue #11728: dataZoom of type 'inside' - custom zoom selection area color
URL: https://github.com/apache/incubator-echarts/issues/11728
### What problem does this feature solve?
Currently there is no option to set a color of zoom selection area when user is trying to zoom a chart.
The default color is set to `rgba(0,0,0,0.2)` and it can't be changed by any user setting.
This option is very important for user experience especially in dark themes because this selection area is too dark and it's barely seen.
Another reason is it is not aligned with other brush tools (from toolbox) like for example 'rect' selection color. It is possible to change colors of these tools but it doesn't have an impact on dataZoom selection area color.
### What does the proposed API look like?
```
{
dataZooom: [
{
type: 'inside',
zoomSelectionColor: '#ff0000'
}
]
}
```
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org