Skip to content

Multiple y axes with scatter traces do not work correctly #1970

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

Closed
alexmon opened this issue Aug 25, 2017 · 2 comments
Closed

Multiple y axes with scatter traces do not work correctly #1970

alexmon opened this issue Aug 25, 2017 · 2 comments

Comments

@alexmon
Copy link

alexmon commented Aug 25, 2017

Hi,

i am trying to render a plot consisted of multiple y axes added dynamically by the user and each trace, trace's type is scatter, is bound to a y axis.

Seems plotly.js doesn't support 'smart' rendering of multiple y axes out of the box as it appears on this post https://community.plot.ly/t/multiple-y-axis-overlay-issue/5508/4. Tried as suggested to use 'position' and 'domain' configurations but i couldn't make it work as seen on this codepen post https://codepen.io/alexmon/pen/rzrxxJ. As you can see only the last trace is rendered.

Is this a wrong usage of the API or a bug?

Thank you for your time.
Alex

@etpinard
Copy link
Contributor

As you can see only the last trace is rendered.

Hmm. This is not what I'm seeing. Can you be more specific about what's not working for you?

@alexmon
Copy link
Author

alexmon commented Aug 30, 2017

You were right, corrected codepen to display multiple traces assigned to a different y axis.

Uploading this screenshot to point a strange issue with newly added y axis:
screenshot from 2017-08-30 12-31-07

  • Why both y2 and y3 axes display a secondary overlapping y axis in black color? Is this a configuration error or a bug?

Thank you and I appreciate your time.

update:
while fixing codepen i realized the overlapping y axes didn't appear anymore. I don't know what happened, i am looking at it right now, i guess there is no issue for now

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