You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that in order for the above code to correctly resize the chart height, the [`maintainAspectRatio`](#configuration-options) option must also be set to `false`.
43
43
44
-
## Flexbox Layout
44
+
## Flexbox / Grid Layout
45
45
46
-
To prevent overflow issues when using flexbox layout, you must set the flex child element to have a `min-width` of `0`.
46
+
To prevent overflow issues when using flexbox / grid layout, you must set the flex / grid child element to have a `min-width` of `0`.
47
47
See [issue 4156](https://github.com/chartjs/Chart.js/issues/4156#issuecomment-295180128) for more details.
0 commit comments