We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dynamic sizing requires you to explicitly attach a resize handler:
window.onresize = function() { Plotly.Plots.resize(gd); };
This works fine if you pass the plot div element gd, but (unlike the rest of the API) you cannot use an id 'myGraph' or you'll get an error:
gd
'myGraph'
Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
cc @VeraZab
The text was updated successfully, but these errors were encountered:
closed by #2212
Sorry, something went wrong.
No branches or pull requests
dynamic sizing requires you to explicitly attach a resize handler:
This works fine if you pass the plot div element
gd
, but (unlike the rest of the API) you cannot use an id'myGraph'
or you'll get an error:cc @VeraZab
The text was updated successfully, but these errors were encountered: