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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
