apache / apache/echarts

symbol disappear when change lines's `series.effect.symbol` property

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

Description

### Version
4.8.0

### Steps to reproduce
1. set base lines's options with `series.effect.symbol` property:
```js
echarts..setOption({
// ...
series: [{
type: 'lines',
data: [...],
effect: {
show: true,
symbolSize: 10,
symbol: 'triangle'
}
}]
})
```

![image](https://user-images.githubusercontent.com/25414733/131948493-308ef61d-2f57-4222-a7d4-c8b4fdbe4ee1.png)

2. change the symbol type
```js
echarts..setOption({
// ...
series: [{
type: 'lines',
data: [...],
effect: {
show: true,
symbolSize: 10,
symbol: 'circle'
}
}]
})
```

![image](https://user-images.githubusercontent.com/25414733/131948521-f7089e1a-b4a7-40a8-aec0-0b6be27709a0.png)

### What is expected?
the lines's symbol changed

### What is actually happening?
symbol disappear

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.