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
Just like maxWidth cuts off the content in the legend for positions left & right, I expect maxHeigh to work too.
Just like maxHeight cuts off the content in the legend for positions top & bottom, I expect maxWidth to work too.
Ideally, the content is never cut off though, it should reflow as best as it can. See generic legend bug: #10893
Current behavior
The maxWidth and maxHeight properties do nothing in the scenarios described above.
Expected behavior
Just like maxWidth cuts off the content in the legend for positions left & right, I expect maxHeigh to work too.
Just like maxHeight cuts off the content in the legend for positions top & bottom, I expect maxWidth to work too.
Ideally, the content is never cut off though, it should reflow as best as it can. See generic legend bug: #10893
Current behavior
The maxWidth and maxHeight properties do nothing in the scenarios described above.
Reproducible sample
https://codepen.io/teodorachiosa/pen/ZENJZPR
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.2
Browser name and version
Chrome 125.0.6422.147
Link to your project
No response
The text was updated successfully, but these errors were encountered: