Chartjs-Display ng2 chart when the property of data returned is >=0

1👍

Please try this

<canvas *ngIf="products" baseChart height="50" width="50"
    [data]="doughnutChartData"
    chartType="doughnut"
    [options]="chartOptions"
    [colors]="chartColors">
</canvas>

Leave a comment