Sign in to follow this  
munick

Label Cut Off At Space In Column 2D Chart With Rotated Label

Recommended Posts

I've got an issue with a label getting truncated at the space in a column 2d Chart ("% A Hero" displays as "% A"). There are other labels in the chart that have more characters that don't get truncated. I've included the chart xml below as well as some screenshots. The dimension of the chart is width:"470", height:"230"

 

post-3036-0-93680900-1311029348_thumb.png

 

post-3036-0-02791600-1311030852_thumb.png

 

<?xml version='1.0' encoding='UTF-8'?>
<graph caption='Power Factors™' chartRightMargin='1' labelDisplay='Rotate' useRoundEdges='1' chartBottomMargin='1'
      outCnvBaseFontColor='666666' formatNumberScale='1' toolTipBgColor='FFFFFF' showValues='1'
      toolTipBorderColor='666666' outCnvbaseFontSize='10' decimalPrecision='0' chartTopMargin='1' adjustDiv='0'
      interactiveLegend='0' showBorder='0' yAxisMinValue='0.0' animation='0' baseFontColor='000000' bgColor='FFFFFF'
      numberSuffix='%' yAxisMaxValue='86.0' minimiseWrappingInLegend='1' canvasPadding='25'>
   <categories>
       <category label='% A Hero'/>
       <category label='% Bad'/>
       <category label='% Cute'/>
       <category label='% Friendly'/>
       <category label='% Funny'/>
       <category label='% Good'/>
       <category label='% Honest'/>
       <category label='% Smart'/>
       <category label='% Talented'/>
       <category label='% Ugly'/>
   </categories>
   <dataset seriesName='Link' color='A81B29' anchorBorderColor='A81B29' anchorBgColor='ffffff' renderAs='COLUMN'>
       <set value='75' hoverText='Link{br}A Hero: 75% {br}Base size: 71'/>
       <set value='0' hoverText='Link{br}Bad: 0% {br}Base size: 71'/>
       <set value='6' hoverText='Link{br}Cute: 6% {br}Base size: 71'/>
       <set value='25' hoverText='Link{br}Friendly: 25% {br}Base size: 71'/>
       <set value='11' hoverText='Link{br}Funny: 11% {br}Base size: 71'/>
       <set value='40' hoverText='Link{br}Good: 40% {br}Base size: 71'/>
       <set value='31' hoverText='Link{br}Honest: 31% {br}Base size: 71'/>
       <set value='31' hoverText='Link{br}Smart: 31% {br}Base size: 71'/>
       <set value='32' hoverText='Link{br}Talented: 32% {br}Base size: 71'/>
       <set value='0' hoverText='Link{br}Ugly: 0% {br}Base size: 71'/>
   </dataset>
   <dataset seriesName='Video game Avg.' color='174284' anchorBorderColor='174284' anchorBgColor='ffffff'
            showValues='0' renderAs='LINE'>
       <set value='30'/>
       <set value='6'/>
       <set value='19'/>
       <set value='30'/>
       <set value='31'/>
       <set value='34'/>
       <set value='23'/>
       <set value='22'/>
       <set value='20'/>
       <set value='4'/>
   </dataset>
   <styles>
       <definition>
           <style name='myDataValueFont' type='font' bold='1'/>
           <style name='myCaptionFont' type='font' font='Arial' size='18' color='666666' bold='0.1' underline='0'/>
           <style name='MyXScaleAnim' type='ANIMATION' duration='0.4' start='0' param='_xscale'/>
           <style name='MyYScaleAnim' type='ANIMATION' duration='0.4' start='0' param='_yscale'/>
       </definition>
       <application>
           <apply toObject='DATAVALUES' styles='myDataValueFont'/>
           <apply toObject='DataPlot' styles='MyXScaleAnim,MyYScaleAnim'/>
           <apply toObject='Caption' styles='myCaptionFont'/>
       </application>
   </styles>
</graph>

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please confirm the OS, Flash player, browser and FusionCharts version you are using?

 

I am afraid, we are unable to replicate the issue, as the code is working fine from our end.sad.gif

 

Please find the screenshot attached for your reference.

post-10517-0-68851300-1311052414_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your post.

 

Could you please confirm the OS, Flash player, browser and FusionCharts version you are using?

 

Thanks for the reply, some testing showed that it's not an issue on Windows, but it is on the Mac OS

Browsers: Firefox 5, Safari 5 and Chrome

OS: OSX 10.6.8

Flash: MAC 10,2,152,33

FusionCharts: 3.2.1

FusionCharts.js: 3.2.1.release.2157

Edited by munick

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Our developers are looking into the issue and will get back to you once there is any news from our end.

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

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