-
Notifications
You must be signed in to change notification settings - Fork 28
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
autoResize duplicates legend #6
Comments
Seeing the same problem -- any solutions? |
same issue here... |
mokkabonna
pushed a commit
that referenced
this issue
Jun 21, 2018
Fixed in 0.2.0 Problem was we called https://plot.ly/javascript/plotlyjs-function-reference/#plotlyplot First of all this is deprecated now and it also duplicated the data. |
It's working! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I set :autoResize="true", it ends up with having multiple listing of the legend everytime resize event fires.
Before resizing..
After resizing..
Also, autoResize doesn't fire when the plot is first displayed (as resize event hasn't fired yet). So I am calling plot() function when the plot is first displayed. It correctly resizes it, but it has the same side effect of duplicating the legend everytime I call plot().
The text was updated successfully, but these errors were encountered: