chartj sudut menyejajarkan legenda kiri
// HTML
<canvas baseChart class="chart" [data]="doughnutChartData"
[labels]="doughnutChartLabels" [chartType]="doughnutChartType"
[options]="doughnutChartOptions"></canvas>
// TS
doughnutChartOptions = {
legend: {
display: true,
position: 'left',
}
}
Ham-Solo