-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Weird issue when restyling bar 'orientation' #358
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
Comments
Thanks for reporting this - confirmed as a bug. |
cc @alexcjohnson and #1999 |
In the example, the bar's orientation is vertical, it seems I can't change it to horizontal: Plotly.restyle('myDiv', 'orientation', 'h'); The above doesn't work. Is there any way to flip x/y for bar (and stacked bar) plot? Thanks! |
Dear @alexcjohnson , https://codepen.io/anon/pen/gGMrrx?editors=0010 Restyling to 'v' or 'h' does nothing. |
@PPPW the issue is fixed on |
If you restyle a bar plot and specify its orientation while restyling, the plot becomes empty, even if you use the default orientation ("v"). If before restyling you already specified the orientation (in newPlot), the issue won't occur.
See:
http://codepen.io/aleburato/pen/LNLExv?editors=0010
The text was updated successfully, but these errors were encountered: