echarts [Bug] 矩形树图data下的itemStyle里的borderColor影响了color!

tvz2xvvm  于 4个月前  发布在  Echarts
关注(0)|答案(7)|浏览(196)

Version

5.1.1

No response

Steps to Reproduce

1、生成矩形树图
2、每个矩形块通过itemStyle里的borderColor设置不同的边框颜色(每个矩形块有各自的颜色和边框色)
3、矩形块的color有透明度时,会受边框颜色影响,似乎此处的边框是整个背景色

demo: https://codepen.io/zhanghaodashuai/pen/OJQzxJZ?editors=0110

Current Behavior

矩形块的color有透明度时,会受边框颜色影响,似乎此处的边框是整个背景色

Expected Behavior

不影响矩形块颜色

Environment

- OS:windows
- Browser:chrom
- Framework:react

Any additional comments?

No response

sqxo8psd

sqxo8psd4#

I would like to fix this issue

7vux5j2d

7vux5j2d5#

@zhanghaodashuai It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED

TITLE

[Bug] BorderColor in itemStyle under the mytogram data influenced color

BODY

Version

5.1.1

No response

Steps to Reproduce

  1. Generate a tree map
    2, each rectangular block through the projectStyle border Color set a different border color (each rectangular block has its own color and border color)
    3, when the color of the rectangular block has transparency, it will be affected by the border color, it seems that the border here is the entire background color

demo: https://codepen.io/zhanghaodashuai/pen/OJQzxJZ?editors=0110

Current Behavior

When the color of a rectangular block has transparency, it is affected by the border color, as if the border here is the entire background color

Expected Behavior

Does not affect the rectangular block color

Environment

- OS:windows
- Browser:chrom
- Framework:react

Any additional comments?

No response

whlutmcx

whlutmcx6#

This issue is labeled with difficulty: easy .
@zhanghaodashuai Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

相关问题