Skip to content

0 not aligned when having multiple y axes with negative numbers #7454

Open
@mtadams007

Description

@mtadams007

I have a plotly chart with lines and columns with both negative and positive values. The 0 on both y axes is at a different spot. It would be nice if there were an option in layout.yaxis where one could align the 0s without having to calculate the domain.

Here is a codepen illustrating the issue: https://codepen.io/mtadams007/pen/ByNgyjJ?editors=0010

The solution proposed in #1845 (comment) does not work as in that example both axes start with 0 and have no negative numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions