echarts [Bug] bar3D中使用dataset,tooltip鼠标移入移出不消失

cyej8jka  于 2022-10-20  发布在  Echarts
关注(0)|答案(1)|浏览(279)

Version

5.4

https://echarts.apache.org/examples/zh/editor.html?c=bar3d-dataset&gl=1

Steps to Reproduce

摘自echarts官网示例

option = {
grid3D: {},
tooltip: {},
xAxis3D: {
type: 'category'
},
yAxis3D: {
type: 'category'
},
zAxis3D: {},
visualMap: {
max: 1e8,
dimension: 'Population'
},
dataset: {
dimensions: [
'Income',
'Life Expectancy',
'Population',
'Country',
{ name: 'Year', type: 'ordinal' }
],
source: data
},
series: [
{
type: 'bar3D',
// symbolSize: symbolSize,
shading: 'lambert',
encode: {
x: 'Year',
y: 'Country',
z: 'Life Expectancy',
tooltip: [0, 1, 2, 3, 4]
}
}
]
};

Current Behavior

鼠标移入,弹出tooltip
鼠标移走,tooltip不消失,
发现 bar3D 中使用dataset就会出现此问题,不使用dataset的话,tooltip正常

Expected Behavior

使用dataset 鼠标移入移出,tooltip能自动消失

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

  • No response*
lvjbypge

lvjbypge1#

@luosenhao It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] When using dataset in bar3D, the tooltip does not disappear when the mouse moves in and out

相关问题