You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "PaulBrnrther (via GitHub)" <gi...@apache.org> on 2025/12/19 14:24:15 UTC
[I] [Bug] visualMap outOfRange gets mixed with inRange on opaque inRange colors [echarts]
PaulBrnrther opened a new issue, #21438:
URL: https://github.com/apache/echarts/issues/21438
### Version
6.0.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?code=hU89iwIxEO39FUMs0qSI922OK2y2Ow6uFYu5XJRATJZNIiuy_91JVkUL8cELM4-895jQJhs8fMFhAtAvehtVHQH-MaGCJV9wAQ-fFVkGQc_-OuIsRtNZQ-pylNO-NQp41JiS6Xj5cambSQFPxGfiC_GV-EZ8J34Q57JWrYppZ2NG943tuW8MZjr4ZH0OObIxe2u9AnmasVcwk6fN-l_0GzKNAQQdXOjK3dOmYi654FNZQXNpJ9SzCCGnn_W9CFZtTcNAAKO4srHbAI1OZ4d_jvypy6aow2T4PAI&enc=deflate
### Steps to Reproduce
Create a continuous visual map with outOrRange colors set and inRange colors set to opaque colors.
### Current Behavior
Then the visualMap shows the mixture of the two gradients within the range while the actually applied colors in the plot are correctly displaying the inRange color gradient
In the following image, the inRange gradient should just be a (opaque) greyscale.
<img width="597" height="419" alt="Image" src="https://github.com/user-attachments/assets/e283426f-6c80-474b-8719-4d596e73581d" />
### Expected Behavior
The visual map controller component should display what is applied in the plot.
### Environment
```markdown
- OS:Mac
- Browser: Chrome
- Framework: -
```
### Any additional comments?
_No response_
--
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: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] visualMap outOfRange gets mixed with inRange on opaque inRange colors [echarts]
Posted by "Justin-ZS (via GitHub)" <gi...@apache.org>.
Justin-ZS commented on issue #21438:
URL: https://github.com/apache/echarts/issues/21438#issuecomment-3680216222
you can customize the `controller` style of visual map. [demo](https://echarts.apache.org/examples/en/editor.html?code=hY89a8MwEIb3_IpDGbRoUPodlQ5ZvJVC15BBVdUiUCWjj-IQ_N9zku0kJIQcvPLp8PvcK98m4x28wW4G0K06E0VtAb5lkgLWdEUZ3Dw2aOkZHttTxDSMOhiN0_UwTttWC6BRyZR0oOWPw7oFZ3CHukc9oB5RT6hn1AtqyeuqTTH9m5ilfZfttG8AE-VdMi77HMnA_jNOAB972QlY8PFm3Kd0v2gaAFjKWx_Ku-dNrSWnjM55LezLdqz6LCyf08fPNQSptqYhwIAgrtzIGaBkDd5ajYYJcBnqItUx05TohDl-lbQqW_llkZRC1mXaz_rXPQ&enc=deflate)
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Bug] visualMap outOfRange gets mixed with inRange on opaque inRange colors [echarts]
Posted by "PaulBrnrther (via GitHub)" <gi...@apache.org>.
PaulBrnrther commented on issue #21438:
URL: https://github.com/apache/echarts/issues/21438#issuecomment-3718211481
Thanks, that helps, i.e. I can work with that. I will still need to translate the opaque colors to non-opaque ones with that approach (e.g. a color of #00000055 has to be translated to #AAAAAA when representing it without opacity).
I will not close the bug since I would still argue that this should work automatically (i.e. the out of range colors should only concern out of range also on the controller and not be the background gradient for the inRange as well).
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org