Shortcut Labels Highcharts Format

Is there a way to format yaxis into something that I want.

In fact, sometimes on yaxis the data is displayed with (k) on the right, rather than thousands.

I want to delete (k). How can i do this?

The yaxis image I want:

enter image description here

+5
source share
1 answer

You can use the formatter ( http://api.highcharts.com/highcharts#yAxis.labels.formatter ) and numberFormat () http://api.highcharts.com/highcharts#Highcharts.numberFormat ()

http://jsfiddle.net/K2X3Y/

 yAxis: {
        labels: {
            formatter: function () {
                return Highcharts.numberFormat(this.value,0);
            }
        }
    },
+14
source

All Articles