Lyle666 opened a new issue #13375:
URL: https://github.com/apache/incubator-echarts/issues/13375
### Version
5.0.0-beta.0
### Steps to reproduce
{
type: 'scatter',
coordinateSystem: 'geo',
name: 'USA',
symbol: `image://${svg}`,
symbolSize: 15,
tooltip: {
trigger: 'item',
triggerOn: 'mousemove',
showContent: true,
confine: false,
position: 'right',
formatter: function(params) {
console.log(params);
let imgUrl = params.data.thumbnail;
let htmlStr = `<img style=width:20px;height:15px; src=
${imgUrl}/>`;
return htmlStr;
}
},
itemStyle: {
color: '#ddb926'
},
data: this.mapData
},
### What is expected?
提供一些解决方案
### What is actually happening?
tooltip无法显示
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]