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
When the canvas container has style="display: none;" then later on set to block using JS, used with the chart option maintainAspectRatio: false, the chart should be the same size as without the complications with display: none.
Current Behavior
When the canvas container has style="display: none;" then later on set to block using JS, used with the chart option maintainAspectRatio: false, the height of the chart is squished to around 20px or in some cases 0px.
I think the bug, if any, here is that a resize to 0x0 works. There is nothing around the chart container to give it height so the initial default height of 150 isn't retained.
Expected Behavior
When the canvas container has
style="display: none;"
then later on set toblock
using JS, used with the chart optionmaintainAspectRatio: false
, the chart should be the same size as without the complications withdisplay: none
.Current Behavior
When the canvas container has
style="display: none;"
then later on set toblock
using JS, used with the chart optionmaintainAspectRatio: false
, the height of the chart is squished to around20px
or in some cases0px
.Steps to Reproduce (for bugs)
fiddle
style="display: none;
and re-run the fiddle.I expect both to have the same size.
Environment
The text was updated successfully, but these errors were encountered: