Skip to content
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

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

Closed
arkhenstone opened this issue Jan 29, 2019 · 1 comment
Closed

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

arkhenstone opened this issue Jan 29, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@arkhenstone
Copy link

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.

@junedchhipa junedchhipa added the bug Something isn't working label Jan 30, 2019
@junedchhipa
Copy link
Contributor

I noticed that the y-axis is present, but it is outside the visible area.
Hence, this is related to #98 and will be fixed when the calculation of y-axis positions is corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants