jiawulin001 commented on a change in pull request #235: URL: https://github.com/apache/echarts-doc/pull/235#discussion_r837300428
########## File path: zh/option/series/treemap.md ########## @@ -596,24 +596,6 @@ treemap 默认把第一个维度(Array 第一项)映射到『面积』上。 ) }} {{ /if }} -#${prefix} colorAlpha(Array) = null Review comment: As is tested, this "global" colorAlpha is not working either. My test code is as following: <details> <summary>Test Code</summary> The second red rectangle is not inheriting parent node's `colorAlpha`. ``` option = { series: [ { type: 'treemap', label: { color: 'black', }, colorAlpha:0.3, data: [ { name: 'nodeA', value: 10, color: ['rgba(255,0,0,0.3)', 'red'], children: [ { name: 'nodeAa', value: 4, }, { name: 'nodeAb', value: 6, }, ], }, { name: 'nodeB', value: 20, children: [ { name: 'nodeBa', value: 20, children: [ { name: 'nodeBa1', value: 20, }, ], }, ], }, ], }, ], }; ``` </details> Since it's not working properly, I am not sure if we should delete it in doc too or should we take it as another issue. Developers can set rgba in each node, but it might be troublesome when there are dozens to set. -- 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-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org