is there need to define axisY anywhere else .I defined it in barChartoptions.Please check.
<canvas baseChart *ngIf=”showBarChart && !noRecord” class=”chart base-chart” [colors]=”barChartColors” [datasets]=”barChartData”
[labels]=”barChartLabels” [options]=”barChartOptions” [legend]=”barChartLegend” [chartType]=”barChartType”
(chartHover)=”chartHovered($event)”
(chartClick)=”chartClicked($event)”>
</canvas>