2021-06-09 12:16:06 +02:00

9 lines
307 B
HTML

<canvas #canvas [attr.height]="height"></canvas>
<ion-list *ngIf="chart">
<ion-item *ngFor="let data of legendItems">
<ion-icon name="fas-square" slot="start" [style.color]="data.fillStyle" aria-hidden="true"></ion-icon>
<ion-label>{{data.text}}</ion-label>
</ion-item>
</ion-list>