Sign in to follow this  
Charlie S.

Setting Min Value For Yaxismaxvalue

Recommended Posts

This might be confusing, but here is what I am trying to accomplish.

 

Sample data:

 

<set label='Charlie' value='1'/>
<set label='Jeff' value='2' />
<set label='Bill' value='0' />
<set label='Mary' value='0' />

 

With these numbers, I would get a bar chart showing 0 - 2 (maybe 3) for my yAxis. I would like to set a minimum of 5 for the yAxisMaximum value, so that the chart would always show at least 0 - 5 for the yAxis.

 

Is there a parameter I am missing to accomplish this?

 

Thanks!

Charlie

Edited by Charlie S.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts..

 

Please try the same by setting <yAxisMinValue='0'> and ' <yAxisMaxValue='5'> inside the <chart> element.

 

For more details, please visit the links below:

 

http://www.fusioncharts.com/docs/?ChartSS/Bar2D.html

 

http://www.fusioncharts.com/docs/?AttDesc/ChartLimits.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
Sign in to follow this