AugTang opened a new issue, #18859:
URL: https://github.com/apache/echarts/issues/18859

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/zh/api.html#echartsInstance.dispatchAction
   
   ### Steps to Reproduce
   
   {
                                **tooltip: {
                                        trigger: 'item',
                                        backgroundColor: 'none',
                                        shadowBlur: 0,
                                        borderWidth:0,
                                        borderColor: 'transparent',
                                        shadowColor: 'transparent',
                                        position:  function(point, params, dom, 
rect, size) {
                                                        var x = point[0];
                                                        var y = point[1]-4;
                                                        return [x, y - 
size.contentSize[1]];
                                                },
                                        formatter: (params)=> {
                                                        let str = 
`<div>${params.name}</div>`
                                                        return str
                                        }
                                }**,
                                geo: {
                                        map: 'china',
                                        zoom:1.2,
                                        label: {
                                                normal: {
                                                        show: false,
                                                },
                                                emphasis: {
                                                        show: false,
                                                },
                                        },
                                        regions: [],
                                        roam: true,
                                        itemStyle: {
                                                normal: {
                                                        areaColor: 
'rgba(36,72,210,0.3)',
                                                        
color:'rgba(36,72,210,0.3)',
                                                        borderColor: '#567CE1'
                                                },
                                                emphasis: {
                                                        areaColor: 'rgba(136, 
161, 255, 0.27)',
                                                        shadowColor: 'rgba(177, 
198, 255, 1)'
                                                }
                                        },
                                        **tooltip: {
                                                show: true,
                                                trigger: 'item',
                                                backgroundColor: 'none',
                                                shadowBlur: 0,
                                                borderWidth:0,
                                                borderColor: 'transparent',
                                                shadowColor: 'transparent',
                                                position: function(point, 
params, dom, rect, size) {
                                                        var x = point[0]-60;
                                                        var y = point[1]-10;
                                                        return [x, y - 
size.contentSize[1]];
                                                },
                                                formatter: (params)=> {
                                                                return str
                                                }
                                        }**
                                },
                                series : [
                                        {
                                                type: 'scatter',
                                                coordinateSystem: 'geo',
                                                
symbol:'image://img/newScreen/msp-sd.png',
                                                data: [],
                                                symbolSize:8,
                                                label: {
                                                        normal: {
                                                                formatter: 
'{b}',
                                                                color: 
'#99C2FF',
                                                                fontSize: 40,
                                                                fontWeight: 600,
                                                                textAlign: 
'center',
                                                                
textVerticalAlign: 'middle',
                                                                show: false
                                                        },
                                                        emphasis: {
                                                                show: false
                                                        }
                                                },
                                                itemStyle: {
                                                        normal: {
                                                                color: '#fff'
                                                        }
                                                }
                                        },
                                        {
                                                type: 'scatter',
                                                coordinateSystem: 'geo',
                                                
symbol:'image://img/newScreen/msp-fd.png',
                                                data: [],
                                                symbolSize:8,
                                                label: {
                                                        normal: {
                                                                color: 
'#99C2FF',
                                                                fontSize: 40,
                                                                fontWeight: 600,
                                                                textAlign: 
'center',
                                                                
textVerticalAlign: 'middle',
                                                                show: false
                                                        },
                                                        emphasis: {
                                                                show: false
                                                        }
                                                },
                                                itemStyle: {
                                                        normal: {
                                                                color: '#fff'
                                                        }
                                                }
                                        },
                                        {
                                                type: 'scatter',
                                                coordinateSystem: 'geo',
                                                
symbol:'image://img/newScreen/msp-gf.png',
                                                data: [],
                                                symbolSize:8,
                                                label: {
                                                        normal: {
                                                                color: 
'#99C2FF',
                                                                fontSize: 40,
                                                                fontWeight: 600,
                                                                textAlign: 
'center',
                                                                
textVerticalAlign: 'middle',
                                                                show: false
                                                        },
                                                        emphasis: {
                                                                show: false
                                                        }
                                                },
                                                itemStyle: {
                                                        normal: {
                                                                color: '#fff'
                                                        }
                                                }
                                        }
                                ]
                        }
   
   ### Current Behavior
   
   无法轮播显示tips
   
   ### Expected Behavior
   
   可以自动展示tips
   
   ### 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]

Reply via email to