角度6迁移后画布标签不出现

时间:2019-01-17 06:25:47

标签: angular canvas angular6 angular4-forms

最近,我的团队已将我们的应用程序从Angular / core cli 4.3.2迁移到6.1.10。标签没有出现在浏览器上。代码如下

<canvas *ngIf="selectedSWP" class="donut" baseChart [data]="[ device[selectedSWP], (100 - device[selectedSWP]).toFixed(2) ]"
              [colors]="doughnutChartColor" [labels]="doughnutChartLabels" [chartType]="doughnutChartType" [options]="doughnutChartOptions"
              (chartHover)="chartHovered($event)" (chartClick)="chartClicked($event)"></canvas>

0 个答案:

没有答案