Answers for "angular chartjs align legend left"

0

angular chartjs align legend left

// HTML
<canvas baseChart class="chart" [data]="doughnutChartData" 
[labels]="doughnutChartLabels" [chartType]="doughnutChartType" 
[options]="doughnutChartOptions"></canvas>

// TS
doughnutChartOptions = {
    legend: {
      display: true,
      position: 'left',
    }
  }
Posted by: Guest on March-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language