scav

Y Axis Label Issue With Scatter.swf

Recommended Posts

Hello,

 

Not 100% sure if this is a bug, but when using scatter.swf, the labels on the y axis do not automatically round when displaying in flash. The values do append the "K" for thousand and the "M" for millions, but then display the whole number. This is not the case for when displaying the chart using javascript. I have attached examples of both and the xml

post-14019-0-48271300-1327935511_thumb.jpg

post-14019-0-59784800-1327935525_thumb.jpg

chart.xml

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Could you please try once by setting <adjustDiv='0' attribute inside the <chart> element?

 

Ex: <chart ... adjustDiv='0' ...>

 

FusionCharts automatically tries to adjust divisional lines and limit values based on the data provided. However, if you want to set your explicit lower and upper limit values and number of divisional lines, first set this attribute to false. That would disable automatic adjustment of divisional lines.

 

Please find the screenshot attached for your reference.

post-10517-0-05055600-1327997936_thumb.png

Share this post


Link to post
Share on other sites

Hi Angshu,

 

Thank you for the help. I applied the change as you recommended and it resolved the issue, however now with graphs that show both positive and negative values it places the 0 in an awkward place. Is there an attribute to remove the zero?

post-14019-0-22585200-1328020902_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please try the same by setting showZeroPlane='0' attribute inside the <chart> element of your XML code.

 

Ex: <chart ... showZeroPlane='0' ...>

 

The zero plane appears in the column, line, scatter, bubble and the area charts. Additionally, scatter chart and bubble chart also supports vertical zero plane on X Axis. Zero plane can be removed in the line, scatter and bubble charts but not in the column or the area chart because they use this as their base to draw. Horizontal zero plane can be removed in the line, scatter and bubble charts by setting showZeroPlane='0'. Vertical zero plane in the scatter and bubble charts can be removed by setting showVZeroPlane='0'.

 

Hope this helps.

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