You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Ghostbird (via GitHub)" <gi...@apache.org> on 2024/08/09 09:56:31 UTC
Re: [I] [Bug] treemap.data.itemStyle.colorAlpha is not work, when color has value. [echarts]
Ghostbird commented on issue #16749:
URL: https://github.com/apache/echarts/issues/16749#issuecomment-2277587750
Quite silly. `colorAlpha` has been removed citing this bug. However the opacity behaviour of `treemap.data.itemStyle.color` has never been fixed. So now it's borked.
Demonstration: codesandbox.io/s/3kf2c8
Or if the codesandbox has expired:
1. Open https://echarts.apache.org/examples/en/editor.html?c=treemap-simple&theme=dark
2. Add this to the first `data` entry:
```ts
itemStyle: {
color: 'rgba(255,255,255, 0.1)'
},
```
### The problem
The colour is not actually opaque, it is pure white, even in dark mode. The area becomes painfully bright, and unreadable, even though the colour specified should have made it a dark-grey in dark mode and a light-grey in light mode.
--
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