Skip to content

Can't control yaxis rangemode, when there is no data #4129

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

Closed
lifeparticle opened this issue Aug 15, 2019 · 1 comment
Closed

Can't control yaxis rangemode, when there is no data #4129

lifeparticle opened this issue Aug 15, 2019 · 1 comment

Comments

@lifeparticle
Copy link

lifeparticle commented Aug 15, 2019

Hi,

I've noticed that if there is no data, you can not control the Y-Axis rangemode attribute, so it shows the negative portion.

Here is an example, where I've demonstrated both examples with data and without.
https://codepen.io/mahbubzaman/pen/LYPNbzP

Here is the link for the official documentation.
https://plot.ly/javascript/reference/#layout-yaxis-rangemode

Thanks.

Kind regards,
Zaman

@etpinard
Copy link
Contributor

merged into #4137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants