apache / apache/echarts

Doesn't clear "series-line.emphasis.scale" during draging or zooming

Open
#15,391 2 comments 0 reactions 0 assignees View on GitHub
bug en pending waiting-for: community
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.0.2

### Steps to reproduce
Click on a point and start moving the chart (or scale).

```
myChart.setOption({
series:[{
type: 'line',
symbolSize: 0.1,
emphasis: {
scale: true,
lineStyle: {
width: 1,
},
},
lineStyle: {
width: 1,
},
data: Array.from(new Array(100)).map((x, i) => [i, Math.floor(Math.random() * (10 - 1 + 1)) + 1]),
}],
xAxis:[{type:'value'}],
yAxis:[{type:'value'}],
tooltip: {
trigger: 'axis',
},
dataZoom: [{
type: 'inside',
}]
})
```

### What is expected?
Old points are cleared.
![image](https://user-images.githubusercontent.com/46935437/126429544-f3c850b7-65b8-47da-bbae-496b3221671b.png)

### What is actually happening?
Old points aren't cleared.

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.