apache / apache/echarts

[Bug] Shadow properties like `shadowBlur` removes the line on the SVG graph

Open
#17,506 1 comment 0 reactions 0 assignees Claimed by @plainheart View on GitHub
bug en pending SVG
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.2.2

### Link to Minimal Reproduction

https://codesandbox.io/s/smoothed-line-chart-forked-fsv8pp?file=/index.js

### Steps to Reproduce

1. Open the link to minimal reproduction
2. See the comment there

### Current Behavior

The SVG graph hides the line when the `series.data` have all the same value and when it has `shadow*` properties like `shadowBlur`

### Expected Behavior

The SVG graph should display the line when the `series.data` have all the same value and when it has `shadow*` properties like `shadowBlur`

### Environment

```markdown
- OS: Windows 10
- Browser: MS Edge 104.0.1293.47
```

### Any additional comments?

It works when using the canvas as the renderer

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.