Skip to content

Visible yaxis must be sorted first in order for them to show #291

@arkhenstone

Description

@arkhenstone

Codepen

https://codepen.io/arkhenstone/full/yGRKwP

Explanation

Ordered is when the series and config with yaxis's show property set to true are FIRST in arrays of config AND series, while when they're set to false, they're AFTER all element with show as true.
This result in correct behaviour, 3 axis are shown.

When it's not ordered, there is some yaxis's show property set to false before another one with true, which result to that axis never displayed. If a series with yaxis show is set to false as the first axis, then no axis will be displayed at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions