Sign in to follow this  
ram9825

Stacked2dbar - yaxisminvalue not working

Recommended Posts

d15a2176-fbfa-4c82-9f75-e6be.jpg

I can't seem to get the yaxisminvalue property to stay fixed.  I'm comparing this data in a series of charts and need the range to stay fixed so the comparisons are visually identical. yaxismaxvalue works fine, when I try and set the min value to a negative number  it seems to get ignored. Is this an issue?  Is there a work around?

Thanks,

Ron

XML is below

- <chart xaxisname="" yaxisname="" caption="Occ. Category: Clerical - Age Distribution" subcaption="12/1/2006" animation="1" numDivLines="3" numberPrefix="" showValues="0" yaxisminvalue="-45" adjustDiv="0" yaxismaxvalue="7">

- <categories>

  <category label="88-89" showName="1" />

  <category label="86-87" showName="0" />

  <category label="84-85" showName="1" />

  <category label="82-83" showName="0" />

  <category label="80-81" showName="1" />

  <category label="78-79" showName="0" />

  <category label="76-77" showName="1" />

  <category label="74-75" showName="0" /> 

  <category label="72-73" showName="1" />

  <category label="70-71" showName="0" />

  <category label="68-69" showName="1" />

  <category label="66-67" showName="0" />

  <category label="64-65" showName="1" />

  <category label="62-63" showName="0" />

  <category label="60-61" showName="1" />

  <category label="58-59" showName="0" />

  <category label="56-57" showName="1" />

  <category label="54-55" showName="0" /> 

  <category label="52-53" showName="1" />

  <category label="50-51" showName="0" />

  <category label="48-49" showName="1" />

  <category label="46-47" showName="0" />

  <category label="44-45" showName="1" /> 

  <category label="42-43" showName="0" />

  <category label="40-41" showName="1" />

  <category label="38-39" showName="0" />

  <category label="36-37" showName="1" />

  <category label="34-35" showName="0" />

  <category label="32-33" showName="1" />

  <category label="30-31" showName="0" />

  <category label="28-29" showName="1" />

  <category label="26-27" showName="0" />

  <category label="24-25" showName="1" /> 

  <category label="22-23" showName="0" />

  <category label="20-21" showName="1" />

  <category label="18-19" showName="0" />

  </categories>

- <dataset seriesName="FEMALE" color="FF0000">

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="-1" />

  <set value="-1" />

  <set value="-4" />

  <set value="-2" />

  <set value="0" />

  <set value="-3" />

  <set value="-7" />

  <set value="-10" />

  <set value="-5" />

  <set value="-3" />

  <set value="-4" />

  <set value="-3" />

  <set value="-3" />

  <set value="0" />

  <set value="-3" />

  <set value="0" />

  <set value="-1" />

  <set value="-1" />

  <set value="-1" />

  <set value="-3" />

  <set value="-2" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  </dataset>

- <dataset seriesName="MALE" color="0080C0">

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  <set value="1" />

  <set value="1" />

  <set value="2" />

  <set value="1" />

  <set value="0" />

  <set value="2" />

  <set value="4" />

  <set value="4" />

  <set value="3" />

  <set value="1" />

  <set value="1" />

  <set value="1" />

  <set value="1" />

  <set value="0" />

  <set value="2" />

  <set value="0" />

  <set value="1" />

  <set value="0" />

  <set value="0" />

  <set value="2" />

  <set value="1" />

  <set value="0" />

  <set value="0" />

  <set value="0" />

  </dataset>

  </chart>

Share this post


Link to post
Share on other sites

Hi,

I am afraid, I could not replicate the issue after testing the XML you posted. :(

Please refer to the attached screenshot of the rendered chart to check if this is what you are looking for.

Also, could you please let us know the version of FusionCharts v3.x that you are presently using to render your charts?

To retrieve the above information, please enable the debug mode.

 

Ref.- http://www.fusioncharts.com/docs?/Debug/Window.html

 

var myChart = new FusionCharts("../FusionCharts/Column2D.swf", "myChartId", "600", "300", "1", "0");

post-8143-12844158443_thumb.jpg

Edited by Guest

Share this post


Link to post
Share on other sites

yes, that is the look I want.

I'm using verison 3.1.0.

In your example you used Column2d.swf versus stackedbar2d.swf - Should I switch?

Thanks,

Ron

Share this post


Link to post
Share on other sites

Hi,

We apologize for the inconvenience caused.

The StackedBar2D chart of FusionCharts suite does not support yAxisMinValue attribute. :(

Stacked charts are considered to plot increasing, positive data values from 0. Hence we intended not to support any customized minimum Y axis value other than '0'.

But recently we observed a lot of our clients are preferring Stacked charts with negative values, so we have compiled a set of  stacked charts that support yAxisMinValue attribute.

If you wish to get the stacked charts that support this feature, please send your customer id and the request at [email protected].

Please feel free to revert in case you have further queries.

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