Sign in to follow this  
TomWebsense

Fushionchart Show Strange As Set Yaixsvaluedecimals=0

Recommended Posts

My requirement is to make y-axis value show integer in Bar model ,but it will convert to strange chart, if I set yAxisValueDecimals=2, it will show rightly.

 

My question:

How fushionchart to format decimal to integer, does any suggestion to fix this problem.

 

BTW:

Fushionchart verison:FusionCharts_Enterprise_v3_2

 

My data xml:

<chart animation="0" baseFont="Arial" baseFontColor="000000"  baseFontSize="9" bgColor="FFFFFF" borderColor="FFFFFF"  canvasRightMargin="10" chartBottomMargin="20" chartLeftMargin="20"  chartRightMargin="20" chartTopMargin="20" decimals="2"  defaultNumberScale="" maxLabelWidthPercent="20"  numberScaleUnit="KB,MB,GB" numberScaleValue="1024,1024,1024" palette="3"  placeValuesInside="1" plotGradientColor="" setAdaptiveYMin="0"  showBorder="1" showShadow="0" showValues="1" yAxisName="Message size"  yAxisValueDecimals="0">
<set color="0066AA" label="[email protected]" tooltext="[email protected]  3.04KB" value="3110"/>
<set color="1D7BBF" label="[email protected]" tooltext="[email protected]  1.66KB" value="1700"/>
<set label=" "/>
<set label=" "/>
<set label=" "/>
</chart>

 

details chart and comments, see attachments.

post-10401-056187500 1293761975_thumb.png

Edited by TomWebsense

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Please find the modified XML below:

 

 

<chart animation="0" baseFont="Arial" baseFontColor="000000" baseFontSize="9" bgColor="FFFFFF" borderColor="FFFFFF" canvasRightMargin="10" chartBottomMargin="20" chartLeftMargin="20" chartRightMargin="20" chartTopMargin="20" maxLabelWidthPercent="20" numberScaleUnit="KB,MB,GB" numberScaleValue="1024,1024,1024" palette="3" placeValuesInside="1" plotGradientColor="" setAdaptiveYMin="0" showBorder="1" showShadow="0" showValues="1" yAxisName="Message size" yAxisValueDecimals="0" formatNumber='1' decimals='0' >

<set color="0066AA" label="[email protected]" tooltext="[email protected] 3.04KB" value="3110"/>

<set color="1D7BBF" label="[email protected]" tooltext="[email protected] 1.66KB" value="1700"/>

<set label=" "/>

<set label=" "/>

<set label=" "/>

</chart>

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Thanks for suggestions!

 

After I try your providing xml, it still has some problems:

1. 2KB in x-axis label value has double.

2. There still has gap between dataplot value and vertical line.

 

Whether currently fushionchart could not make it show rightly?

Any suggestions?

 

BTW: could you tell me what is the rule for fushionchart is to apply as converting decimal to integer?

Thanks!

Tom:)

post-10401-014362000 1293780253_thumb.png

Edited by TomWebsense

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