Skip to content

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

Closed
@alexmon

Description

@alexmon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions