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
How to you change the size of the pie chart
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I believe the issue is here:
dimensions.width = element[0].parentElement.offsetWidth || 900; dimensions.height = element[0].parentElement.offsetHeight || 500;
It takes the height and width of the parent element. A fix would be to set the height of the parent manually.
If you were to be using bootstrap, and you have the chart in a panel, you could change the height like this.
.panel-body { min-height: 300px; }
No branches or pull requests
How to you change the size of the pie chart
The text was updated successfully, but these errors were encountered: