apache / apache/echarts

Gauge combination with pie. The gauge disappeared when the cursor hovers pie.

Open
#15,052 5 comments 0 reactions 0 assignees View on GitHub
bug en
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.1.1

### Reproduction link
[https://codesandbox.io/s/echarts-pie-gauge-6tx4j?file=/src/option.js](https://codesandbox.io/s/echarts-pie-gauge-6tx4j?file=/src/option.js)

### Steps to reproduce
See the codesandbox. The first load gauge is normal. It will disappear when the cursor hovers pie.
```
{
series: [
{
type: "pie",
radius: ["75%", "85%"],
center: ["50%", "50%"],
color: ["#18dbfd", "#1883fd"],
hoverAnimation: false,
labelLine: {
length: 0,
length2: 50
},
data: [
{
value: 33,
name: "rose 1"
},
{
value: 100,
name: "rose 8"
}
]
},
{
type: "gauge",
center: ["50%", "50%"],
radius: "98%",
startAngle: 0,
endAngle: 360,
min: 0,
max: 60,
splitNumber: 3,
itemStyle: {
color: "#FFAB91"
},
pointer: {
show: false
},
axisLine: {
show: false
},
axisLabel: {
show: false
},
axisTick: {
splitNumber: 50,
length: 0,
lineStyle: {
cap: "round",
width: 4,
color: "#999"
}
},
splitLine: {
length: 0,
lineStyle: {
cap: "round",
width: 10,
color: "#999"
}
}
}
]
}
```

### What is expected?
The gauge is normal

### What is actually happening?
It disappeared

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.