nyurik / kibana-vega-vis

This Kibana plugin allows any data visualizations from Elastic Search and other data sources using Vega grammar. You can even create a visualization on top of an interactive map.
Apache License 2.0
135 stars 31 forks source link

Tooltip Mousehover issue on Vega "3.0.10" and Kibana 6.2.2 #61

Open emilmirzayev opened 6 years ago

emilmirzayev commented 6 years ago

I tried to create circle packing example from Vega example page and noticed that tooltip is not functioning as intended. It only works for the first Mousehover event and shows the data but when I hover the mouse to another element, it doesn't work. I have to move mouse away and wait for 1-2 seconds then move it back. The example code I will also post below:

vega-circle-packing.txt

nyurik commented 6 years ago

@emilmirzayev do you get the same results if you install the latest plugin?

emilmirzayev commented 6 years ago

Unfortunately, I can't install another version, because I have a cloud instance

emilmirzayev commented 6 years ago

Hi again Yuri,

today I updated both Kibana and Vega to the newest version. 6.2.4 Kibana and 3.2.1 Vega. Tried this code again and the results are still the same. Tooltip only works for the first hover, then I have to hover away, wait a bit and then hover back

emilmirzayev commented 6 years ago

Same results with 6.2.3 with not built in Vega plug in installed through kibana plugin install

nyurik commented 6 years ago

Hi Emil, my apologies for being quiet. I suspect this is due to the https://github.com/vega/vega/issues/1259 issue in vega packaging - that's why the libraries were not actually updated. I have already fixed it, but I'm afraid it will only be shipped as 6.3 (already in code freeze, will ship shortly). I also suspect that this plugin is not affected by that issue. I will try to look at the issues soon!

emilmirzayev commented 6 years ago

Hi Yuri, thanks for response. I also saw your issue #1259 and was suspecting that could be the issue I was facing. Is there any dates for 6.3 announced already?

nyurik commented 6 years ago

Not sure, but I'm hopping it will happen within the next week or so

ogdabou commented 6 years ago

Hi,

Just to add another experience. I'm using Kibana 6.3.1 and I can confirm this issue seems to be present.

The first tooltip appears, then it's a bit random, sometimes the tooltip prints, sometimes it does not. And sometimes it works fine for a few points.

I'm using a map with points and shapes drawn, as I've not yet been successful to change the cursor from a hand to a classic cursor I'm not sure it's not also an issue of simply me being not exactly on the point.

EDITED: It seems fine when I put the upper left of the hand cursor on a dot !

Hope this helps :).

toog commented 4 years ago

bug also present in kibana 7.6 with the airport vega example, if we specify a cursor in mark we can't have other cursor as hand.