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
2.5.0
For the latest spec see: https://www.chartjs.org/docs/latest/charts/doughnut.html#config-options
example expected api:
PieOptions pieOptions = new PieOptions() .setResponsive(true) .setMaintainAspectRatio(true) .setCutout("50%") .setAnimation(new PieAnimation() .setAnimateRotate(true) .setAnimateScale(false)) );
Generates:
"options": { "responsive": true, "maintainAspectRatio": true, "cutout": "50%", "animation": { "animateRotate": true, "animateScale": false }
example current api:
PieOptions pieOptions = new PieOptions() .setResponsive(true) .setMaintainAspectRatio(true) .setCutoutPercentage(50) .setAnimations(new Animations<>(AnimationType.X, new PieAnimation() .setAnimateRotate(true) .setAnimateScale(false)) );
"options": { "responsive": true, "maintainAspectRatio": true, "cutoutPercentage": 50, "animations":{"animationTypes":{"x":{"animateRotate":true,"animateScale":false}},"x":{"animateRotate":true,"animateScale":false}} }
No response
The text was updated successfully, but these errors were encountered:
Reimplement and correct doughnut/pie options
996961a
See #293
e3e0ce4
Should now be up to date with the Chart JS source. Will be available in the next release :)
Sorry, something went wrong.
AB-xdev
Successfully merging a pull request may close this issue.
Checklist
Affected version
2.5.0
Steps to reproduce the bug
For the latest spec see: https://www.chartjs.org/docs/latest/charts/doughnut.html#config-options
Expected behavior
example expected api:
Generates:
Actual behavior
example current api:
Generates:
Additional information
No response
The text was updated successfully, but these errors were encountered: