Home forums Using CanvasJS charts in ionic 2 y-axis labels changes Reply To: charts in ionic 2 y-axis labels changes

#17638

Prabhjot
Member

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>