Skip to content

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

Open

Description

@HenryYan2012
  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

Activity

  1. pawelfus commented on Apr 15, 2016

    @pawelfus
    Collaborator

    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.

  2. HenryYan2012 commented on Apr 15, 2016

    @HenryYan2012
    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.

  3. pawelfus commented on Apr 15, 2016

    @pawelfus
    Collaborator

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

    Thank you for reporting!

  4. pawelfus commented on Apr 15, 2016

    @pawelfus
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions