Caption of Chart is shown as "K"

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Caption of Chart is shown as "K"

Post 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
User avatar
Glenn
Profound Logic Staff Member
Posts: 124
Joined: Mon Apr 14, 2014 4:08 pm
First Name: Glenn
Last Name: Hopwood
Company Name: Profound Logic Software
State / Province: Ohio
Country: United States
Contact:

Re: Caption of Chart is shown as "K"

Post 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
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Caption of Chart is shown as "K"

Post by dieter »

Thank you Glenn,
i will give it a try.

Dieter
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Caption of Chart is shown as "K"

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest