Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TSVB] Tooltip cut off when inspecting data points at the edge of the visualization #12866

Closed
alexfrancoeur opened this issue Jul 14, 2017 · 13 comments · Fixed by #13565
Closed
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@alexfrancoeur
Copy link

Time series visual builder cuts off the tooltip when hovering over any data points that are close to the edge of a visualization.

screen shot 2017-07-14 at 10 17 29 am

Visualize handles this pretty well
screen shot 2017-07-14 at 10 17 11 am

Ideally, we'd be able to dynamically position the tooltip so that it is always readable

cc: @simianhacker

@alexfrancoeur alexfrancoeur added Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Jul 14, 2017
@thomasneirynck
Copy link
Contributor

had a similar issue in Visualize. Was addressed with #11769.

@simianhacker
Copy link
Member

I'm unable to reproduce this...

image

The tooltip always moves to the left when I get halfway to the right side the screen and always moves to the right when I'm on the left side of the screen. Do you have a dashboard where this consistently happens or any other details? @alexfrancoeur

@alexfrancoeur
Copy link
Author

@simianhacker I'm able to reproduce pretty consistently.

aug-15-2017 12-32-29

Dashboard & visualizations attached. Metricbeat for data. TSVB.zip

@simianhacker
Copy link
Member

@alexfrancoeur Can you export those with the following command:

curl http://localhost:5601/api/kibana/dashboards/export?dashboard=<id goes here>

@alexfrancoeur
Copy link
Author

@simianhacker tsvb.json.zip

6.0.0-beta1 build btw

@simianhacker
Copy link
Member

@alexfrancoeur Which browser are you using? This seems to be working fine in Chrome and Kibana (master).

image

@alexfrancoeur
Copy link
Author

alexfrancoeur commented Aug 15, 2017

@simianhacker Chrome Version 59.0.3071.115 (Official Build) (64-bit) at the moment. Let me try loading these with master.

@alexfrancoeur
Copy link
Author

Still seeing this with master as well

screen shot 2017-08-15 at 2 42 17 pm

screen shot 2017-08-15 at 2 41 32 pm

@simianhacker
Copy link
Member

simianhacker commented Aug 17, 2017

@alexfrancoeur I'm sorry... It's working for me on my mac...

image

And it's working the exactly the same on all my browsers (mac and linux). There must be something you have setup that different on your Mac than mine.

@alexfrancoeur
Copy link
Author

@simianhacker This is crazy. I don't get it. I've met with a number of users who are seeing this behavior as well. Can you try incognito so no plugins are on Chrome? Also what OS version are you using? I'm on Sierra 10.12.5.

screen shot 2017-08-17 at 7 50 51 am

@simianhacker
Copy link
Member

@alexfrancoeur Incognito mode doesn't make a difference, it still works correctly. I'm testing on Sierra 10.12.6 (Latest) with Chome Version 60.0.3112.101 (Official Build) (64-bit) which is also the latest. This is all a fresh install as of yesterday.

@tsullivan
Copy link
Member

Is it specific to pixel density of the screen? Maybe it's working on a retina screen but not on a non-retina thunderbolt display (or vice versa)?

@simianhacker
Copy link
Member

Thanks @tsullivan ... I figured out how to reproduce it. You HAVE to be on a Retina display. If you put the browser on a non-retina display and reload then it works fine. If start on a non-retina display and move it over to a retina display it works fine. If you reload on a retina display it stops working correctly. Seems like the problem is probably with Flot and how it calculates the pixels when the browser is loaded on a retina display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants