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

Annotations not working properly on multiple series with multiple y axes #44

Open
YousraLED opened this issue Sep 1, 2015 · 3 comments
Labels

Comments

@YousraLED
Copy link

Hi, I am trying to use the annotations on my data that has multiple y axes that have very different mins and maxes. I am trying to link the annotations to different series by using the series ID however the annotation only appears on the first series (I think it does that by default or something). If I use the the second series's ID. the annotation appears as if its using the first series's axis.
I tried adding annotations on data with multiple series but only one y-axis and the annotations appeared properly. Is this a bug or am I missing something?

Thanks

@YousraLED YousraLED changed the title Annotations not working on multiple series with multiple y axes Annotations not working properly on multiple series with multiple y axes Sep 1, 2015
@pawelfus
Copy link
Collaborator

pawelfus commented Sep 3, 2015

Indeed, it looks like something is hardcoded. Have you tried to set annotation.yAxis? If this not resolve the issue, then could you setup jsfiddle demo with that issue? We will check this.

@sebastianbochan
Copy link
Collaborator

The annotation is added only for the first yAxis.

Demo:

Try to add any shape to second pane. Not possible.

@morganfree
Copy link

Demo with new annotations with multiple y-axes - http://jsfiddle.net/7zomjrc0/1/

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

4 participants