custom legend chart js angular code example
Example: angular chart js legend position
// HTML
<canvas baseChart class="chart" [data]="doughnutChartData"
[labels]="doughnutChartLabels" [chartType]="doughnutChartType"
[options]="doughnutChartOptions"></canvas>
// TS
doughnutChartOptions = {
legend: {
display: true,
position: 'left',
}
}