# How To Change Thousand To Millions?

## Recommended Posts

Hi to all,

Please guide me how to change fusion chart values thousand to millions.

Now when i use fusion chart in vb6 it gives values in thousands but i want to convert it in millions.

so please tell me how to do this.???

Waiting for you immediate response.

Regrds,

##### Share on other sites

Hi,

Welcome to FusionCharts Forum!

Please refer to the link for more details: http://www.fusioncharts.com/docs/?Number_Scaling.html

Hope this helps.

##### Share on other sites

Thank you so much angie.

This helps me alot.

i Have reahced till end at my solution but not get 100% solution

Am trying to find exact solution...

if you have any more suggestion so kindly refer me.

##### Share on other sites

Hi,

Thanks for your appreciation.

FusionCharts, by default, has 1000,1000 (K,M) scaling defined for all charts. It doesn't have the scaling for billions defined. Let's modify the number scaling to add billion so that the final scale looks like 1000,1000,1000 .

This scale, in human terms, would look something as under:

1000 = 1 K

1000 K = 1 M

1000 M = 1 B

Now, to convert this scale into FusionCharts XML/JSON format, you'll have to do the following:

<chart numberScaleValue='1000,1000,1000' numberScaleUnit='K,M,B' >

Hope this helps!

If this is not you are looking for, please send us a screenshot of your requirement.

Edited by Angie

##### Share on other sites

but i want that if my value is 1milllion (10,00000) so it should give 1 million at bar.

and if value is less than one million (9,99,999) so it giver 0.9 milion at bar..

i dont want in result in k..

##### Share on other sites

Hi,

Since XML only accepts static data, you need to provide the value in XML itself.

Ex: <set value='1000000' />

Hope this helps.

##### Share on other sites

yes it is working now please tell me how to round off ammount

for example my amount is 25.36 million so i want 25 million.

##### Share on other sites

Hi,

Welcome again to FusionCharts Forum!

Please try the same using <decimals='2'> attribute inside the <chart> element.

Hope this helps.

##### Share on other sites

ok i will try this.

there are two more problems in fusion chart.

1- when i get values of month from database it gives (1, 2 , 3 ...., 12) for months from my database.

Is there any facitly in fusion chart that it gives jan for1 , feb for 2 , mar for 3 ....... , dec for 12

2- when i make chart using bar...so it values go down

for example

consider [] equal to bar..

[] [] []

[] [] []

pa in am

ki di er

st a ic

an a

i want this

[] []

[] []

p i

a n

k d

i i

s a

t

a

n

or show pakistan in vertical??

waiting for your immediate response.

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account