-
Hi, It appears that width and height of the canvas are ignored since 3.0.0-rc. In this example, if you change from 3.0.0-beta.14 to 3.0.0-rc.*, the ratio is ignored : Do I need to add something to the options? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
kurkle
Apr 1, 2021
Replies: 1 comment 1 reply
-
It was changed here: #7414 and after some issues related issues were fixed here: #8659 So there are at least 4 options to choose from:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
CrowMash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was changed here: #7414 and after some issues related issues were fixed here: #8659
So there are at least 4 options to choose from:
Chart.overrides.doughnut.aspectRatio = undefined;
options: { aspectRatio: null }
options: { aspectRatio: 10 }
maintainAspectRatio: false
and make sure the container (that your fiddle is missing!) is in the desired ratio.