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

odd behavior for bar hover in streaming data example #8

Open
mg1075 opened this issue Apr 6, 2015 · 1 comment
Open

odd behavior for bar hover in streaming data example #8

mg1075 opened this issue Apr 6, 2015 · 1 comment

Comments

@mg1075
Copy link

mg1075 commented Apr 6, 2015

When playing with the streaming data demo, I have noticed an odd behavior when hovering over the data bar columns. The odd behavior only happens when I hover over part of the bar itself, not when I hover over the empty space above the bar.

Once I hover over part of the bar, the bar I hovered becomes attached to my mouse cursor if I stay inside the chart. As the data keeps streaming in, the bar I hovered is glued to the cursor, but not if I move the cursor around quickly enough.

In the below screenshot, the first arrow points to the column I hovered, and the second arrow points to the same column now stuck to the cursor.

image

Example plnkr:
http://plnkr.co/edit/ZMsfV0NrCHazPWkdJr2C?p=preview

@wcainboundary
Copy link

Reproduced this behavior. To paraphrase (to make sure I understand)... In streaming, when you move the mouse, the correct bars (y values) initially appear in the highlight. However, when you stop moving the mouse, the highlight shows on the currently selected time (x value), which correctly changes as data streams across, but the bars (y values) for that highlight are from the last place you moved the mouse to, not for the actual/current data point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants