Open ricardobfa opened 9 years ago
I'm using angular material md-grid-list and md-card to display some charts inside of it.
md-grid-list
md-card
When i set the md-card to 100% height and width , the canvas chart appears to be with height and width = 0px.
height
width
0px
To make the chart appear, you need to resize the window.
What i'm missing?
Plunker demo
same issue
+1 Same issue here
I managed to get this working by setting a timeout on initialising the arrays. I updated your Plunker: http://plnkr.co/edit/bIWoTa9h25qmUOpGrtab?p=preview
I'm using angular material
md-grid-list
andmd-card
to display some charts inside of it.When i set the
md-card
to 100%height
andwidth
, the canvas chart appears to be withheight
andwidth
=0px
.To make the chart appear, you need to resize the window.
What i'm missing?
Plunker demo