-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Negative y value for legend causes error and invisible legend #384
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
Labels
bug
something broken
Comments
Confirmed as a bug. Thanks for opening the issue. |
n-riesco
added a commit
to n-riesco/plotly.js
that referenced
this issue
Apr 9, 2016
* Ensure that when the margins are expended to allocate the legend, there is enough space to clear the layout margins. Fixes plotly#384
n-riesco
added a commit
to n-riesco/plotly.js
that referenced
this issue
Apr 11, 2016
* Ensure that when the margins are expended to allocate the legend, there is enough space to clear the layout margins. Fixes plotly#384
n-riesco
added a commit
to n-riesco/plotly.js
that referenced
this issue
Apr 11, 2016
* Ensure that when the margins are expended to allocate the legend, there is enough space to clear the layout margins. Fixes plotly#384
7 tasks
n-riesco
added a commit
to n-riesco/plotly.js
that referenced
this issue
Apr 11, 2016
mdtusz
added a commit
that referenced
this issue
Apr 18, 2016
…strict-margins Fix issue #384 (invisible legends when y is negative)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you take the code given in one of the examples (https://plot.ly/javascript/legend/#positioning-the-legend-outside-the-plot) and make the y value for the legend negative, the legend will disappear and errors will appear in the console. This makes it impossible to position the legend below the graph.
Here is a codepen with the stated modification already made:
http://codepen.io/anon/pen/eZGWXo
The text was updated successfully, but these errors were encountered: