ChartWidget Max Height Not Adjusting Correctly

I currently have a chart widget that has a max height of 300px and a column span of full. It has set the height of the physical chart itself to the height, but the outer bounding box still retains it's full height. Is there a way to properly set the height of both the box and the chart, or at least flex form the outer bounds to the chart?
No description
14 Replies
Nguyen Thiet Minh Duc
Yahh, I’m experiencing the same issue. The chart height is limited correctly, but the outer container still keeps its full height.
No description
nathan
nathan2mo ago
I'm having the same issue myself. @Dan Harrin (This only happens in 4.1 and seems to be effecting many folks.)
Dan Harrin
Dan Harrin2mo ago
It was fixed this morning, will not be an issue in the next release
nathan
nathan2mo ago
You're the man!! Thank you for the quick response, brother!
Gucci Fox
Gucci FoxOP2mo ago
I thought that this was solved, but it isn't. I have the same exact configuration as I described above, but now the width doesn't fill the space properly.
No description
Gucci Fox
Gucci FoxOP2mo ago
Just as an update, I rebuilt by themes, and now it seems to look like this.
No description
Gucci Fox
Gucci FoxOP2mo ago
Rad! Thank you so much! I appreciate it so much.
Dan Harrin
Dan Harrin2mo ago
just to confirm, what did it originally look like? in this ss, is it the correct height but not the correct width?
Gucci Fox
Gucci FoxOP2mo ago
Yep, the height was fixed in the last release, but now it was just the graph itself that didn't span the width of the outer bounding box
Dan Harrin
Dan Harrin2mo ago
ok cool sorry for the issues chart js has a bug where it doesnt resize itself properly when you change the browser window, so we have been trying to hack in a fix for that but it had these side effects
Gucci Fox
Gucci FoxOP2mo ago
No worries, no need to apologize either. Everything is a dream no matter what, I'm lucky to even be using something like this in my job. That makes sense, that is totally fair too. No worries at all. Thank you so much for being on top of it!
bigLITTLE
bigLITTLE2mo ago
So, the issue still hasn’t been fixed?
Mook
Mook2mo ago
Yeah I had issues with this too but if you set 'aspectRatio' => 1, in your getOptions(): it will respect your set max height if your columnSpan is full

Did you find this page helpful?