Sign in to follow this  
dcwebcat

Display Zero Plane If No Negative Values

Recommended Posts

Hi -

 

Working on several charts and I keep running into all sorts of customized questions. Okay, so again this is another 3D column chart. There are two charts side by side so there is one HTML doc and two XML files (one for each chart). Everything looks great except for one thing.

 

Both charts are 3D column charts using MSColumn3D.swf. The left chart has positive and negative values and so the zero plane shows.

 

The right chart only has positive values and so the zero plane does not show. I need for the zero plane to display on the right chart and then it would just be empty below the zero plane. Please see my XML below.

 

THIS IS THE RIGHT CHART XML:

 

<graph caption='TITLE OF CHART' subCaption='' xAxisName='' yAxisName='' showYAxisValues='0' showCanvasBase="0" baseFont ='Arial' baseFontColor ='000000'canvasBgColor='FFFFFF' canvasBaseColor='E87506' hovercapbgColor='FFECAA' hovercapborder='F47E00' divlinecolor='F47E00' numberSuffix='%' placeValuesInside='1' zeroPlaneShow="1">

 

<styles>

 

<definition>

 

<style type="font" name="CaptionFont" size="15" color="000000" />

 

<style type="font" name="SubCaptionFont" bold="0"/>

 

<style name='myAxisTitlesFont' type='font' font='Arial' size='10' bold='0' italic='1'/>

 

<style name='myLabelsFont' type='font' font='Arial' size='10' color='FFFFFF' bold='0' underline='0'/>

 

</definition>

 

<application>

 

<apply toObject="caption" styles="CaptionFont" />

 

<apply toObject="SubCaption" styles="SubCaptionFont" />

 

<apply toObject='XAxisName' styles='myAxisTitlesFont' />

 

<apply toObject='DataValues' styles='myLabelsFont' />

 

 

</application>

 

</styles>

 

<categories>

<category name='Average Return' hoverText='Simple Average Return'/>

<category name='Cummulative Return' hoverText='Cummulative Return'/>

<category name='Annualized Return' hoverText='Annualized Return'/>

</categories>

<dataset seriesname='Investor A' color='021E2F' showValue='1'>

<set value='6' />

<set value='19.1' />

<set value='6' />

</dataset>

<dataset seriesname='Investor B' color='5a5248' showValue='1'>

<set value='6' />

<set value='12.3' />

<set value='4' />

 

</dataset>

</graph>

 

 

Any help is greatly appreciated!!!!

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Please define the attribute "yAxisMinValue" and set it to a negative value to see the zero plane.

 

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
Sign in to follow this