boywithk9

Label Weirdness

Recommended Posts

I have a chart that's mysteriously dropping some of the characters from the labels. Note that the year is missing in several of the x-axis labels in the second chart on the following page (screenshot also attached):

 

http://deheer.com/cjdeheercom/stats/print_rates.html

 

Here's the xml for the chart:

 

<chart

caption="30-YEAR FIXED INTEREST RATE MORTGAGES"

subCaption="Mortgage Rate History (36 Months)"

showvalues="0"

yAxisMinValue="4"

yAxisValueDecimals="3"

numberSuffix="%"

labelDisplay='ROTATE'

showBorder="0"

bgColor="FFFFFF"

showAlternateHGridColor="0"

chartLeftMargin="0"

chartRightMargin="5"

adjustDiv="0"

numDivLines="11"

plotSpacePercent="50"

baseFont='Verdana'

baseFontSize ='11px'

baseFontColor ='333'

lineColor="E56B00"

lineThickness="1"

anchorRadius="0"

anchorBgColor="E56B00"

showShadow="0"

decimals='3'

forceDecimals='1'

canvasBorderColor='cccccc'

canvasBorderThickness='1'

exportEnabled="1" exportShowMenuItem="0" exportType="PDF=Export as PDF File" exportAtClient="1" exportHandler="fcExporter1" exportFileName="interest_rates_short-term">

 

 

<set label="May-08" value="6.04" color='E56B00' />

<set label="Jun-08" value="6.32" color='E56B00' />

<set label="Jul-08" value="6.43" color='E56B00' />

<set label="Aug-08" value="6.48" color='E56B00' />

<set label="Sep-08" value="6.04" color='E56B00' />

<set label="Oct-08" value="6.2" color='E56B00' />

<set label="Nov-08" value="6.09" color='E56B00' />

<set label="Dec-08" value="5.29" color='E56B00' />

<vLine color='cccccc' />

<set label="Jan-09" value="5.05" color='E56B00' />

<set label="Feb-09" value="5.13" color='E56B00' />

<set label="Mar-09" value="5.0" color='E56B00' />

<set label="Apr-09" value="4.81" color='E56B00' />

<set label="May-09" value="4.86" color='E56B00' />

<set label="Jun-09" value="5.42" color='E56B00' />

<set label="Jul-09" value="5.22" color='E56B00' />

<set label="Aug-09" value="5.19" color='E56B00' />

<set label="Sep-09" value="5.06" color='E56B00' />

<set label="Oct-09" value="4.95" color='E56B00' />

<set label="Nov-09" value="4.88" color='E56B00' />

<set label="Dec-09" value="4.93" color='E56B00' />

<vLine color='cccccc' />

<set label="Jan-10" value="5.03" color='E56B00' />

<set label="Feb-10" value="4.99" color='E56B00' />

<set label="Mar-10" value="4.97" color='E56B00' />

<set label="Apr-10" value="5.10" color='E56B00' />

<set label="May-10" value="4.89" color='E56B00' />

<set label="Jun-10" value="4.74" color='E56B00' />

<set label="Jul-10" value="4.56" color='E56B00' />

<set label="Aug-10" value="4.43" color='E56B00' />

<set label="Sep-10" value="4.35" color='E56B00' />

<set label="Oct-10" value="4.23" color='E56B00' />

<set label="Nov-10" value="4.30" color='E56B00' />

<set label="Dec-10" value="4.71" color='E56B00' />

<vLine color='cccccc' />

<set label="Jan-11" value="4.76" color='E56B00' />

<set label="Feb-11" value="4.95" color='E56B00' />

<set label="Mar-11" value="4.84" color='E56B00' />

<set label="Apr-11" value="4.84" color='E56B00' />

 

<styles>

 

<definition>

<style name='CaptionStyle' type='font' font='Verdana' size='10' bold="0" color='333' letterspace="1" />

</definition>

 

<application>

<apply toObject='Caption' styles='CaptionStyle' />

</application>

 

<definition>

<style name='SubCaptionStyle' type='font' font='Georgia' size='22' bold="0" color='333333' />

</definition>

 

<application>

<apply toObject='subCaption' styles='SubCaptionStyle' />

</application>

 

<definition>

<style name='yAxisNameStyle' type='font' font='Verdana' size='12' bold="1" color='333333' isHTML="1" />

</definition>

 

<application>

<apply toObject='yAxisName' styles='yAxisNameStyle' />

</application>

 

</styles>

 

</chart>

post-2519-066318900 1306887395_thumb.png

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Thanks for your post.

The wrap mode enables you to wrap your long x-axis labels in multiple lines as shown below. To enable wrap mode, all you need to do is set :

<chart LabelDisplay='WRAP'>

For more details, please visit the link: http://www.fusioncha...DataLabels.html

 

Hope this helps.smile.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