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

Annotation on bar chart doesn't work properly. #54

Open
HenryYan2012 opened this issue Apr 15, 2016 · 4 comments
Open

Annotation on bar chart doesn't work properly. #54

HenryYan2012 opened this issue Apr 15, 2016 · 4 comments
Labels

Comments

@HenryYan2012
Copy link

HenryYan2012 commented Apr 15, 2016

  1. Create a annotation on a horizontal bar chart.
    before resize browser
  2. View it on a smaller browser. You will see the position is incorrect.
    after rezie browser
@pawelfus
Copy link
Collaborator

pawelfus commented Apr 15, 2016

Could you setup jsfiddle with the issue? We will check this.
Have you set xValue and yValue to make sure annotation is linked to x-y vlaue, not x-y (pixels) position? See API.

@HenryYan2012
Copy link
Author

@pawelfus Please check http://jsfiddle.net/z4eg8pmr/ You could add an circle annotation on it, and resize the result window. Then will see the issue.
I believe it is linked to x-y value.

@pawelfus
Copy link
Collaborator

Indeed, looks buggy. When using column series (not inverted chart) it works fine.

Thank you for reporting!

@pawelfus pawelfus added the bug label Apr 15, 2016
@pawelfus
Copy link
Collaborator

pawelfus commented Apr 15, 2016

Internal note:

Looks like values in drop event are not udated and group still has translate() in the SVG. Other thing to check is if we have proper axes when chart is inverted.

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

No branches or pull requests

2 participants