apache / apache/echarts

[Bug] geo svg bug,echarts can't show svg with "pattern"

Open
#20,840 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### Version

5.6.0

### Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/echarts-geo-svg-pattern-3phyth

### Steps to Reproduce

1.I just use office demo
2. replace .svg file
3. please see my [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s)

### Current Behavior

![Image](https://github.com/user-attachments/assets/d829ed1e-746b-4623-aae7-4a4ae0ce6f96)

### Expected Behavior

![Image](https://github.com/user-attachments/assets/7fdd9bd6-cb5b-4e03-ae25-c323036c207a)

### Environment

```markdown
- OS:windows11 X64
- Browser:Edge
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproductions and compare the current and expected rendering for the replacement SVG containing a pattern. Trace the geo SVG rendering path in the ECharts TypeScript source, then verify that the reproduced SVG displays correctly in Edge without breaking the office demo behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.