svg方式渲染折线图时,当数据源的所有数据值相同时,阴影失效,且影响了线条的展示
Open
bug
SVG
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
4.7.0
### Reproduction link
[https://codesandbox.io/s/beautiful-currying-esdpl?file=/src/App.js](https://codesandbox.io/s/beautiful-currying-esdpl?file=/src/App.js)
### Steps to reproduce
打开之后无需操作 直接看到现象
1. echarts.init(dom, null, {renderer: "svg"});
2. series[0].data =[1,1,1,1,1,1,1]
3. series[0].lineStyle={
shadowBlur: 20,
shadowOffsetX: 20,
shadowOffsetY: 20
}
### What is expected?
能有一条可见的线条
### What is actually happening?
只展示出折线拐点标志,线条没有颜色
---
必要条件是:
1、数据源的所有值一定都要相同
2、lineStyle增加阴影属性
线条的path标签里有style="filter: url("#zr2322-shadow-0");" 导致问题出现
Contributor guide
Assessment
This issue has not been assessed yet.