angular2-chartjs
angular2-chartjs copied to clipboard
Charts doesn't show when using it inside angular material cards (mat-card)
I just added the angular2-chartjs into my project, I copy pasted the sample, and wasn't showing anything (container and canvas had width and height 0)
Then I found out that it's because I added the chart inside an angular material card :(
It's working absolutely fine for me! Here's an example:
Would you mind to share some code?
Try to remove any divs encapsulating your chart or your card. It worked for me.
I have this same issue. I have a radar chart that will not show up. I have tried playing with different CSS settings and with and without divs, It does not make a difference