DEV Community

Basant Kumar
Basant Kumar

Posted on

Answer: Angular-Chart not rendering anything

Adding following div container over the canvas solved the problem for me, check the following:

<div class="chart-container" ng-show="graph.visible">
  <canvas #myChart class="my-4" width="900" height="380"></canvas>
</div>

Top comments (0)