Sign in to follow this  
Sulaiman PK

Problem in number scaling

Recommended Posts

I use formatNumberScale in all my charts. But its not scaling for DualY chart(ie., the Y1 axis not scaling).. Is there any solution for that? Also, when the number is very big, the scaling not working properly...

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

The formatNumberScale attribute is used for number scaling in the primary y-axis.

To format the number scale in the secondary y-axis please consider using the sFormatNumberScale attribute.

Ref: - http://www.fusioncharts.com/docs/?ChartSS/Combi2DDY.html -----> Number Formatting

While using big numbers you can consider using your customized number formatting using the numberScaleValue and sNumberScaleValue attributes.

Ref :- http://www.fusioncharts.com/docs/Contents/Number_Scaling.html

http://www.fusioncharts.com/docs/Contents/Number_Input.html

Hope this helps. :)

Share this post


Link to post
Share on other sites

Still not working... . I am posing the xml file generated.. Please check....

 

 

 



-
captionPadding="0" xAxisNamePadding="0"

yAxisNamePadding="0" yAxisValuesPadding="0" labelPadding="0" valuePadding="0"

chartLeftMargin="0" chartRightMargin="0" chartTopMargin="20"

formatNumber="1" sFormatNumber="1" formatNumberScale="1"

sFormatNumberScale="1" sNumberScaleValue="1000,100,100" sNumberScaleUnit="T,L,C" numberScaleValue="1000,100,100" numberScaleUnit="T,L,C" decimals="2" showLegend="1" labelDisplay="WRAP" useRoundEdges="1">

-

















-















-

















[/Code]

Share this post


Link to post
Share on other sites

Still not working... . I am posing the xml file generated.. Please check....

 

 

 


- 
captionPadding="0" xAxisNamePadding="0" 

yAxisNamePadding="0" yAxisValuesPadding="0" labelPadding="0" valuePadding="0" 

chartLeftMargin="0" chartRightMargin="0" chartTopMargin="20" 

formatNumber="1" sFormatNumber="1" formatNumberScale="1"

 sFormatNumberScale="1" sNumberScaleValue="1000,100,100" sNumberScaleUnit="T,L,C"  numberScaleValue="1000,100,100" numberScaleUnit="T,L,C" decimals="2"  showLegend="1" labelDisplay="WRAP" useRoundEdges="1">

- 

















- 















- 

















Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Can you specify the version of FusionCharts you are using.

The attributes I specified are applicable for FusionCharts v3 and not FusionCharts FREE.

 

Awaiting your reply.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Since, in your <dataset seriesName="Net Exp" ...> you have used the comma-separated format  <set value="76,786,576.60" />

the line plot was not showing.

 

Could you please set inThousandSeparator=' , ' in the <chart> element?

Hope this helps. :)

 

Share this post


Link to post
Share on other sites

Hi,

We have tested this XML in our lab and the resultant chart is (pleaes mark the T or L or C in the columns):

<graph  palette='3'  formatNumber='1' sFormatNumber='1' formatNumberScale='1' sFormatNumberScale='1' sNumberScaleValue='1000,100,100' sNumberScaleUnit='T,L,C'  numberScaleValue='1000,100,100' numberScaleUnit='T,L,C' decimals='2' showLegend='1' labelDisplay='WRAP' useRoundEdges='1'  >

<categories>

  <category label='HO AND MAIN BRANCH1' />

  <category label='MARKET ROAD BRANCH' />

  <category label='PEROLE BRANCH' />

  <category label='TK BRANCH' />

  <category label='NON BANKING DEPARTME' />

  <category label='EVENING BRANCH' />

  </categories>

<dataset seriesName='Net Exp' showValues='0' renderAs='Line' parentYAxis='P'>

  <set value='76786576.60' />

  <set value='16307852.40' />

  <set value='11917011.99' />

  <set value='6664927.00' />

  <set value='1200.00' />

  <set value='5859511.05' />

  </dataset>

<dataset seriesName='Working Fund' showValues='1' renderAs='Bar' parentYAxis='S'>

  <set value='10870217971.38' />

  <set value='2123.33' />

  <set value='15141.80' />

  <set value='868432.42' />

  <set value='7325690.18' />

  <set value='779386068.84' />

  </dataset>

  </graph>

de8f7fbc-2e19-4b29-84a7-9a33.jpg

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Sulaiman,

We have tested the XML that you have sent us in our Lab.

Could you please confirm that the XML that you are using is the one that you have sent us?

Please send us the XML codes as an attachment in case you are using another set of codes.

Waiting for your reply. :hehe:

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please send us the screen-shot again after setting showValues='1' in the <chart> element?

Please attach the screen-shot.

Apologies for the inconvenience.

Share this post


Link to post
Share on other sites

Also, I use the following method to render chart as html

 

 

 

FusionCharts.RenderChartHTML("../FusionCharts/ScrollCombiDY2D.swf", "", strXML.ToString(), "chart1", intChartWidth.ToString(), intChartHeight.ToString(), false);

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Regarding this issue, could you please make a post at: http://www.fusioncharts.com/help/index.php?_m=tickets&_a=submit

 

 

 

Please attach to the post the code that you are working with(ASP file) and the SWF file that you are using?

 

 

 

I personally assure you that I will get to the bottom of this issue.

 

 

 

Looking forward to your mail.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Finally I got correct output when I put all code in another page. I don't knew why it wouldn't get before..:cool:. I Apologies for the inconvenience.

 

 

 

Thank you very much for your kind cooperation.:)

 

 

 

 

 

Regards,

Share this post


Link to post
Share on other sites
Guest Rajroop

Heylo,

 

 

 

We are always happy to help. I'm very glad that the issue stands resolved. :)

 

 

 

Happy FusionCharting.

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