Skip to content

[BUG]: xaxis is reversed for certain minallowed values #7717

@RolT

Description

@RolT

Description

Setting minallowed to a certain value can reverse the xaxis, even if the value is below maxallowed.

Screenshots/Video

Image

Steps to reproduce

Reproducer: https://codepen.io/rolt/pen/GgqbYmq

  • Go to codepen
  • Set minallowed to 7 or more: axis is reversed
  • Set minallowed to 6 or less: axis is correct

Notes

I tried with version 2.28.0 (first version published on cdn.plot.ly that's after the introduction of those properties) and the issue is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions