javascript - Highcharts display full number or any format instead of k - Stack Overflow

I am using highchartsIn case of having numbers in thousands 1000 and greater the chart for example gaug

I am using highcharts

In case of having numbers in thousands 1000 and greater the chart for example gauge chart the speedometer will display 1k 2k .. not 1000 2000

I think its designed in that way for not displaying full numbers so that it is kept readable

How can i display the full number or any other label instead of k

I am using highcharts

In case of having numbers in thousands 1000 and greater the chart for example gauge chart the speedometer will display 1k 2k .. not 1000 2000

I think its designed in that way for not displaying full numbers so that it is kept readable

How can i display the full number or any other label instead of k

Share Improve this question asked Oct 1, 2014 at 7:38 bob-cacbob-cac 1,3022 gold badges19 silver badges36 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 4

Try adding format parameter so Highcharts won't do its own formatting.

yAxis: {
    labels: {
        format: '{value}'
    }
}

Simply change numericSymbols.

Snippet:

Highcharts.setOptions({
    lang: {
        numericSymbols: [ "A" , "B" , "C" , "D" , "E" , "F"]
    }
});

Example: http://jsfiddle/BlackLabel/7ndqujhq/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745623314a4636654.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信