apache / apache/echarts

[Bug] Handling image nodes

Open
#21,192 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

6.0.0

### Link to Minimal Reproduction

https://jsfiddle.net/r8bzm95o/3/

### Steps to Reproduce

See fiddle

### Current Behavior

I would like to use images in a graph. It seems possible but fairly limited. Using `symbol` with an `image://` works to a degree but I cannot style this in any way. No border, no border-radius etc.

I don't know how the `color.image` method is supposed to work, it always samples a few pixels from the center (?) but I can't see a way to adjust this.

### Expected Behavior

Is there a way to adjust the `color.image`/pattern?

### Environment

```markdown
all
```

### Any additional comments?

_No response_

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.