apache / apache/echarts

Decal image may not rendered after loading

Open
#14,105 1 comment 0 reactions 1 assignee Claimed by @Ovilia View on GitHub
bug en topic: decal
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.0.1

### Steps to reproduce
With

```js
var base64 = 'image://data:image/png;base64,...';

option.decal.decals = [{
color: decalColor,
dashArrayX: [[30, 30], [0, 30, 30, 0]],
dashArrayY: [30, 10],
symbol: base64,
symbolSize: 0.8
}]
```

The decal pattern will not be rendered with image at first time, which may have something to do with not calling `dirty` after image loaded.

### What is expected?
Decal pattern renders with image

### What is actually happening?
No decal pattern

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.