Guest Rajroop

MSSplineArea chart 3.1 update has some number scaling & font rendering issues

Recommended Posts

We just upgraded to the 3.1 version of the charts, and I noticed some minor rendering issue. It's not a huge bug, but its enough to keep us using the older version of this chart in particular.

 

 

 

Without changing any XML at all, the slanted labels on the X-axis now has a much bolder text. I assume this is due to some strange anti-aliasing issue within Flash.

 

 

 

Also, when we don't receive data from a webservice, we instead fill in all 0's for the chart so it looks less broken. Before this worked fine and the Y-axis would show a 0-100 scale. Now with the new version when there's no data it shows a 0.0-0.1 scale which looks ridiculous.

 

 

 

I've attached a screenshot. The text boldness is subtle yet annoying, but the number scaling is more obvious.

 

 

 

Below is the XML I'm using:

 

anchorRadius="2"

 

areaBorderColor="AFAFAF"

 

bgColor="FFFFFF"

 

canvasBaseColor="FEFEFE"

 

canvasBgColor="FFFFFF"

 

canvasBorderColor="CCCCCC"

 

canvasBorderThickness="1"

 

chartBottomMargin="5"

 

chartLeftMargin="3"

 

chartRightMargin="10"

 

chartTopMargin="5"

 

divLineColor="999999"

 

hovercapbg="FFFFFF"

 

labelStep="3"

 

legendBorderColor="CCCCCC"

 

legendMarkerCircle="1"

 

legendPadding="0"

 

legendShadow="0"

 

lineThickness="2"

 

plotFillAlpha="80"

 

rotateNames="1"

 

slantLabels="1"

 

showAreaBorder="1"

 

showBorder="0"

 

showFCMenuItem="0"

 

showLegend="1"

 

showvalues="0"

 

useRoundEdges="1"

 

vDivLineAlpha="80"

 

vDivLineDashGap="2"

 

vDivLineDashLen="2"

 

vDivLineIsDashed="1"

 

yAxisMinValue="1000"

post-4222-128441574078_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you please add yAxisMaxValue='' in the <chart> element and try again?

 

 

 

I hope this helps. :)

Share this post


Link to post
Share on other sites

Ah yes, that does help for the number scaling issue - but still strange that the default would change between versions of the chart.

 

 

 

But since this doesn't correct the issue of the text being too bold, I think I'll still have to stick with the older version of the chart for now.

 

 

 

Thanks for the help.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

First off, you are most welcome. :hehe:

 

 

 

The reason behind the labels being 'too bold' in FusionCharts v3.1 is that the labels are being converted to bitmap images and set on the graph. This is done in order to support UTF-8 characters on the chart.

 

 

 

I understand your needs and they are absolutely reasonable. :) However, this clarification had to made so that there is no confusion about it being a 'anti-aliasing issue within Flash'.

 

 

 

I hope you enjoy and continue using FusionCharts. :(

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