cuno

Last Column Of Scatter Chart Unexpectedly Wide

Recommended Posts

I've created a scatter chart (works like a charm) except for the last part of the chart which is too wide although there's no data for that part.

Any suggestions what may cause this effect?

 

post-10625-077353700 1293536543_thumb.png

 

Kind Regards,

 

cuno

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please send us the code to look into the issue?

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

Sure! Thanks for the lightning fast reply!

 

I use the dataxml method. Already tried to change the width in the object properties. That only forced the chart to scale down.

 

 

I pasted the xml in the attached xml-file. The object tag is described below

 

<object width="800" height="400" data="./FusionCharts/Charts/Scatter.swf" type="application/x-shockwave-flash"><param name="name" value="graph" /> <param name="flashvars" value="dataXML=[This is the xml part (string) as attached in this reply]&debugMode=0" /> <param name="src" value="Scatter.swf" /> <param name="quality" value="high" /> </object>

 

 

test.xml

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome again to FusionCharts Forum!smile.gif

 

This is happening because the x value in the <dataset> element is bigger than <xAxisMinValue> mentioned in the <chart> element of the XML document.

 

You need to explicitly declare the <xAxisMinValue>.

 

Hope this helps.smile.gif

Edited by Angie

Share this post


Link to post
Share on other sites

Hi Angie,

 

Thanks, that helped!

 

I think you mean xAxisMaxValue. After setting this to the highest category value of the x-axis everything works perfectly!

 

Cuno

Hi,

 

Welcome again to FusionCharts Forum!smile.gif

 

This is happening because the x value in the <dataset> element is bigger than <xAxisMinValue> mentioned in the <chart> element of the XML document.

 

You need to explicitly declare the <xAxisMinValue>.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites
Guest Angie

Hi ,

 

That was a little mistake!sad.gif

 

Anyways, I am glad to know that you issue has been resolved.

 

Keep FusionCharting!biggrin.gif

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