1// HTML
2<canvas baseChart class="chart" [data]="doughnutChartData"
3[labels]="doughnutChartLabels" [chartType]="doughnutChartType"
4[options]="doughnutChartOptions"></canvas>
5
6// TS
7doughnutChartOptions = {
8 legend: {
9 display: true,
10 position: 'left',
11 }
12 }