Page 1 of 1

Caption of Chart is shown as "K"

Posted: Mon May 30, 2016 12:13 pm
by dieter
Hello,
if we use a chart, the caption of big numbers is shown in K. I think that means "Kilo"? E.G, 417K means 417000. Am i right? So my question is, if there is a possibility to change this format. In Germany i would like to have a "T" (for "Tausend" (in Englisch this means "Thousand")).

Dieter

Re: Caption of Chart is shown as "K"

Posted: Tue May 31, 2016 9:40 am
by Glenn
Dieter,

You are correct, 'K' means 1000. I found a chart option that might work for you in the 'number formatting' portion of the Fusion Charts documentation. The option is called 'numberscaleunit'. For example, if you put something like the below in either your 'chart option' property or in the proper place in the JSON or XML data, you should get a 'T' for thousands values.

Code: Select all

numberscaleunit = "T,M"'
Fusion Charts Doc page: http://www.fusioncharts.com/dev/basic-c ... ormat.html

Note that I did my testing using an XML driven grid. I did NOT test it with a database or 'name/value' driven grid. It should still work though.

Glenn

Re: Caption of Chart is shown as "K"

Posted: Wed Jun 01, 2016 4:53 am
by dieter
Thank you Glenn,
i will give it a try.

Dieter

Re: Caption of Chart is shown as "K"

Posted: Thu Jun 02, 2016 3:45 am
by dieter
Hi Glenn,

you showed me the right way to solve my problem. I have also added a few keywords more to set the style.
formatNumberScale ==> 0
numberScaleUnit ==> T,M
decimalSeparator ==> ,
thousandSeparator ==> .

So now my charts looks much better for german users.
Thank you again.