apache / apache/echarts

[Bug]极坐标图设置markpoint后缩放,markpoint会消失

Open
#16,199 0 comments 0 reactions 0 assignees View on GitHub
bug topic: marker
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

e.g.5.2.2

### Link to Minimal Reproduction

_No response_

### Steps to Reproduce

根据官网第一个示例调整option如下。
```
option = {
xAxis: {
type: 'value',
data: [1,2,3,4,5,6,7]
},
yAxis: {
type: 'value'
},
polar: {
//radius: 320
},
angleAxis: {
startAngle: 0
},
radiusAxis: {
},
series: [
{
data: [150, 230, 224, 218, 135, 147, 260],
type: 'line',
coordinateSystem: 'polar',
markPoint: {
symbolSize: 15,
label: {
position: 'top',
distance: 0,
fontWeight: 'bold',
},
data: [{coord:[150,1],name:'test',itemStyle:{color:'red'}}],
}
}
],
dataZoom: [
{
type: 'inside',
radiusAxisIndex: [0],
filterMode: 'none'
},
{
type: 'inside',
angleAxisIndex: [0],
filterMode: 'none'
}
]
};
```
### Current Behavior

设置markpoint和datazoom后缩放,markpoint消失。还原后markpoint出现。

### Expected Behavior

缩放后markpoint仍然存在

### Environment

```markdown
- OS:window10
- Browser:chrome 96.0.4664.45
- Framework:
```

### 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.