Sign in to follow this  
Bo George

Issue With Thousandseparatorposition When Using Json

Recommended Posts

We are using JSON to configure our charts and are on version 3.2.2 of Fusion. However, when trying to change the position where comma's appear it does not apply for the axis values only the display value of items in a grid.

 

Note that thousandSeparator and decimalSeperator both appear to work just fine in the values of items in the grid and updating the axis to also be formatted correctly.

 

Is there an additional property needed to have thousandSeparatorPosition apply to values in the axis?

Share this post


Link to post
Share on other sites

Here is some additional information. Our chart properties include thousandSeparator, decimalSeperator (which both work) and thousandSeparatorPosition which does not update the axis).

 

 

Here are the properties in the chart:

{"chart":

 

{"caption":""

"xAxisName":"Month"

"yAxisName":"GBP"

"Showlegend":"1"

"Decimals":"0"

"Rotatevalues":"0"

"Forcedecimals":"1"

"Showlabels":"1"

"Showvalues":"0"

"Exportenabled":"0"

"Exportaction":""

"Exporthandler":""

"Exportatclient":"0"

"Exportshowmenuitem":"0"

"formatNumberScale":"0"

"Plotgradientcolor":" "

"Bgcolor":"#ffffff"

"numberSuffix":" "

"ValuesFormat":"Currency"

"ShowSumAtEnd":"0"

"YAxisMaxValue":"121290835"

"centerYaxisName":"0"

"showZeroPlane":"1"

"zeroPlaneThickness":"2"

"adjustDiv ":"0"

"decimalSeparator":"."

"thousandSeparator":","

"thousandSeparatorPosition":"2,3"

"formatNumber":"1"}

....here is a sample of the values that are formatted correctly...but the axis is not.

dataset":[{"seriesname":"TER","data":[{"label":"","displayValue":"6,86,13,993","value":" 68613993","tooltext":""TER","APR 2011", "6,86,13,993"","showlabel":null,"color":null,"issum":"0","cumulative":"0"},{"label":"","displayValue":"7,03,59,373","value":"70359373","tooltext":""TER", "MAY2011", " ....

Share this post


Link to post
Share on other sites
Guest Sumedh

Here is some additional information. Our chart properties include thousandSeparator, decimalSeperator (which both work) and thousandSeparatorPosition which does not update the axis).

 

 

Here are the properties in the chart:

{"chart":

 

{"caption":""

"xAxisName":"Month"

"yAxisName":"GBP"

"Showlegend":"1"

"Decimals":"0"

"Rotatevalues":"0"

"Forcedecimals":"1"

"Showlabels":"1"

"Showvalues":"0"

"Exportenabled":"0"

"Exportaction":""

"Exporthandler":""

"Exportatclient":"0"

"Exportshowmenuitem":"0"

"formatNumberScale":"0"

"Plotgradientcolor":" "

"Bgcolor":"#ffffff"

"numberSuffix":" "

"ValuesFormat":"Currency"

"ShowSumAtEnd":"0"

"YAxisMaxValue":"121290835"

"centerYaxisName":"0"

"showZeroPlane":"1"

"zeroPlaneThickness":"2"

"adjustDiv ":"0"

"decimalSeparator":"."

"thousandSeparator":","

"thousandSeparatorPosition":"2,3"

"formatNumber":"1"}

 

....here is a sample of the values that are formatted correctly...but the axis is not.

 

dataset":[{"seriesname":"TER","data":[{"label":"","displayValue":"6,86,13,993","value":" 68613993","tooltext":""TER","APR 2011", "6,86,13,993"","showlabel":null,"color":null,"issum":"0","cumulative":"0"},{"label":"","displayValue":"7,03,59,373","value":"70359373","tooltext":""TER", "MAY2011", " ....

 

 

 

Hi,

 

 

If you are trying to render Flash charts, could you please upgrade all the SWF files i.e., replace all the chart SWF files and try once again?

 

Also, do not forget to clear your browser's cache.

 

Please refer the following URL, for more information:

http://docs.fusioncharts.com/charts/contents/?Introduction/UpgradingEval.html

 

Also, find attached screen-shot and JSON for your reference.

 

Hope this helps.

post-24802-0-84563200-1339483223_thumb.png

data.JSON.txt

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this