-
I am using a bar chart and a bubble chart as a mix chart. If you change the
For example, if you have the above values, it will appear as below. On the other hand, if it has the following values, it is changed to the following canvas size.
I wrote the following code to block canvas size resizing.
How can I modify the code so that the width and height of the canvas can be fixed even when the values of each chart change? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think that is the |
Beta Was this translation helpful? Give feedback.
I think that is the
autoPadding
feature, that tries to ensure elements fir in the chart area. It can be disabled:https://www.chartjs.org/docs/3.7.0/configuration/layout.html