huyu456 opened a new issue, #20286:
URL: https://github.com/apache/echarts/issues/20286
### Version
5.5.0
### Link to Minimal Reproduction
no
### Steps to Reproduce
option configuration
```
option = {
geo: [
{
map: "china",
roam: false,
silent: true,
layoutSize: "100%",
zoom: 1.2,
itemStyle: {
borderColor: "#c9c9c9",
borderWidth: 1,
areaColor: "#ffffff",
},
emphasis: {
label: {
show: false,
color: "#ffffff",
},
},
},
],
legend: {
itemWidth: 9,
itemHeight: 9,
orient: "vertical",
icon: "circle",
// data: ["用户地域分布", "服务商地域分布"],
},
tooltip: {
trigger: "item",
},
series: [
// 用户
{
type: "effectScatter",
coordinateSystem: "geo",
name: "用户地域分布",
data: [
{ name: "上海", value: [121.472644, 31.231706, 123] },
{ name: "北京", value: [116.405285, 39.904989, 100] },
{ name: "山东", value: [117.000923, 36.675807, 23] },
{ name: "宁夏", value: [106.278179, 38.46637, 43] },
],
symbolSize: 15,
symbolOffset: [-10, -10],
encode: {
value: 2,
},
zlevel: 2,
label: false,
itemStyle: {
color: "#95FF58", //散点颜色
},
},
],
}
```
### Current Behavior
after continuously switching legend, effectScatter cannot be hidden

### Expected Behavior
effectScatter can be hidden and displayed normally,I tested scatter to hide
and display properly, but effectScatter did not
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]