Sign in to follow this  
markb

Bar Chart Range

Recommended Posts

Is it possible to draw a 2D Column as a variance or range?

 

 

 

say from -10 to +10

 

or 85 to 95

 

 

 

The set element allows for a value but the start value of the bar is 0 by default.

 

Can this default 0 start value be overridden?

 

 

 

Thanks!!

Edited by Guest

Share this post


Link to post
Share on other sites

Hello,

Welcome to the forum.

You could consider using a stacked column chart to achieve the effect you have in mind. Please note that you will have to rewrite the data to achieve what you require. I am posting some sample xml for the same:

<chart caption='Company Revenue' xAxisName='Month' yAxisName='Revenue' showValues='0' numberPrefix='$'>

<categories>

  <category label='Jan' />

  <category label='Feb' />

  <category label='Mar' />

  <category label='Apr' />

  <category label='May' />

  <category label='Jun' />

  <category label='Jul' />

  <category label='Aug' />

  <category label='Sep' />

  <category label='Oct' />

  <category label='Nov' />

  <category label='Dec' />

</categories>

<dataset>

  <set value='27400' />

  <set value='29800'/>

  <set value='25800' />

  <set value='26800' />

  <set value='29600' />

  <set value='32600' />

  <set value='31800' />

  <set value='36700' />

  <set value='29700' />

  <set value='31900' />

  <set value='34800' />

  <set value='24800' />

</dataset>

<dataset>

  <set value='-10000'/>

  <set value='-11500'/>

  <set value='-12500'/>

  <set value='-15000'/>

  <set value='-11000' />

  <set value='-9800' />

  <set value='-11800' />

  <set value='-19700' />

  <set value='-21700' />

  <set value='-21900' />

  <set value='-22900' />

  <set value='-20800' />

</dataset>

 

</chart>

I hope this helps! :)

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey,

 

 

 

Welcome to the FusionCharts Forum! :)

 

 

 

If I am understanding you correctly, you want to display only positive values while showcasing the zero plane and the negative scale on the y-axis.

 

 

 

Could you please check the attached XML and image file for this?

 

 

 

I hope this helps. :) Please do share your feedback with us on this.

post-5201-128441584036_thumb.jpg

Data.xml

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