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

bar: tooltip not follow when xAxis is crosshair and mouse move on empty part of chart #6517

Closed
zhangciwu opened this Issue Mar 28, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@zhangciwu

zhangciwu commented Mar 28, 2017

Expected behaviour

when xAxis is crosshair, chart tooltip should be follow mouse when moving around empty part

Actual behaviour

when mouse moving on empty part

Wrong: tooltip is frozen, until hover on some bar
(at 5.0.9)

Right: tooltip follows mouse, showing at right bar
(at 5.0.7)

Live demo with steps to reproduce

Wrong (5.0.9): https://jsfiddle.net/ussn7b0j/1/
Right (5.0.7): https://jsfiddle.net/ms4gu522/

Affected browser(s)

Seems all

P.S.

Empty part means such area like below
qq20170328-161611

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Mar 28, 2017

Collaborator

Fixed on the master branch: http://jsfiddle.net/highcharts/ussn7b0j/2/

We will release this with v5.0.10 within a few weeks.

Collaborator

TorsteinHonsi commented Mar 28, 2017

Fixed on the master branch: http://jsfiddle.net/highcharts/ussn7b0j/2/

We will release this with v5.0.10 within a few weeks.

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus May 8, 2017

Contributor

It's broken again in 5.0.11: http://jsfiddle.net/ussn7b0j/4/

Contributor

pawelfus commented May 8, 2017

It's broken again in 5.0.11: http://jsfiddle.net/ussn7b0j/4/

@jon-a-nygaard

This comment has been minimized.

Show comment
Hide comment
@jon-a-nygaard
Collaborator

jon-a-nygaard commented May 22, 2017

@zhangciwu

This comment has been minimized.

Show comment
Hide comment
@zhangciwu

zhangciwu May 22, 2017

@jon-a-nygaard You used a ".local" domain
fixed with ".com"
http://jsfiddle.net/nfrcwteh/1/

zhangciwu commented May 22, 2017

@jon-a-nygaard You used a ".local" domain
fixed with ".com"
http://jsfiddle.net/nfrcwteh/1/

@jon-a-nygaard

This comment has been minimized.

Show comment
Hide comment
@jon-a-nygaard

jon-a-nygaard May 22, 2017

Collaborator

Internal Note: Was done deliberately in 13cfbe1 due to #6586.
Considering that bar is a series type with directTouch: true, this is actually intended behaviour.
Must be able to differentiate between these two behaviours in a logical way.

Collaborator

jon-a-nygaard commented May 22, 2017

Internal Note: Was done deliberately in 13cfbe1 due to #6586.
Considering that bar is a series type with directTouch: true, this is actually intended behaviour.
Must be able to differentiate between these two behaviours in a logical way.

jon-a-nygaard added a commit that referenced this issue May 23, 2017

@zhangciwu

This comment has been minimized.

Show comment
Hide comment
@zhangciwu

zhangciwu May 23, 2017

  1. wrong context for click callback (#6586)
  2. hover blank area, expect to see tooltip for corresponding column, but not (this issue)
    In theory, these two issues seem to be irrelevant, so I think they should be all solved.
    Maybe some share code has bind them together, I'll spend some spare time to see if I can help this.

zhangciwu commented May 23, 2017

  1. wrong context for click callback (#6586)
  2. hover blank area, expect to see tooltip for corresponding column, but not (this issue)
    In theory, these two issues seem to be irrelevant, so I think they should be all solved.
    Maybe some share code has bind them together, I'll spend some spare time to see if I can help this.

jon-a-nygaard added a commit that referenced this issue May 23, 2017

TorsteinHonsi added a commit that referenced this issue May 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment