Incubator-echarts: 用graphic实现拖拽的散点图,当series开启large:true,且点的数量超过largeThreshold 的设置时候,tooltip消失

Created on 16 Sep 2019  ·  11Comments  ·  Source: apache/incubator-echarts

Version

4.3.0

Reproduction link

https://gallery.echartsjs.com/editor.html?c=x05QUdkZIp&v=1

Steps to reproduce

修改data的数量,在大于largeThreshold(默认2000)时tooltip消失,小于时候出现

What is expected?

tooltip一直出现

What is actually happening?

消失

bug easy low tooltip

Most helpful comment

Remove the triggerOn: 'none' and you will have the tooltip.

All 11 comments

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected] .

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

  1. You should not use triggerOn: 'none'
  2. If you comment the lines after Line 64, the tooltip works. It seems that you've created some graphic elements that block the tooltip because graphic elements are not supposed to trigger tooltip.

The graphic element, is the reason why I use triggerOn: 'none' for. In fact, this is the official example to implement drag. Graphic element can not trigger tooltip, and the graphic element is really block the scatter,so I can not remove the triggerOn: 'none' nor the grraphic emement.

So what effect do you want? Do you want to get tooltip on scatters or not?

a mount of scatters(more than 10,000), tooltip on scatters, and can be dragged.

hello?

Remove the triggerOn: 'none' and you will have the tooltip.

remove the triggerOn:'none' can not help. Sometimes tooltop can be see saw because some soctters is not covered by graphic element.But most soctters is covered by graphic element.

以防我英语太差没能说明白,我再拿中文解释下我遇到的问题:在可拖拽的散点图的点数量超过largeThreshold(默认是2000)的时候,tooltips消失.哪怕 triggerOn:'none' 不去掉,在1999的时候也是可以正常显示的,但是只要高于2000,那么tooltips就无法正常显示.(正常显示是指鼠标悬停在图标正上方的时候,tooltips一直显示不消失,在高于2000的时候鼠标滑过有一定概率显示tooltips,但是会立刻消失).

我希望能得到更多关注,这并不是一个使用上的咨询.

Hi @microchang , It's confirmed to be a bug. I guess it's because the custom graphics element covers the scatter series when large mode is enabled. We will fix it ASAP.

I have tried this under 5.0, it was fixed

Was this page helpful?
0 / 5 - 0 ratings