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

#17637

Prabhjot
Member

my canvas tag is not taking options
suffix and label formatter both are not working.

public barChartOptions: any
= {
scaleShowVerticalLines: false,
responsive: true,

axisY: {
labelFormatter: function (e) {
alert(“k”)
return e.value + “K”;
}
}
};

here alert is also not working.