Sign in to follow this  
chart-newbie

Unable To Set Yaxismaxvalue Fusioncharts Xt 3.2

Recommended Posts

Hi,

 

I am using "ScrollCombiDY2D.swf" for generating a multi-Y-Axis (Bar and Line) chart.

I need to set a max value for one of the Y-Axis. I tried both "yAxisMaxValue" and "pYAxisMaxValue" in both <chart> and <dataset> and nothing worked. See the attached picture for an idea.

 

Can someone help?

 

Thanks

post-30898-0-90598200-1350949880_thumb.png

Edited by chart-newbie

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

A warm welcome to the FusionCharts Forum :)

 

You may try using the attribute 'PYAxisMaxValue' to set max value for the primary axis, on the left hand side and use the attribute 'SYAxisMaxValue' to set the max value for the secondary y-axis, on the right hand side.

 

For details, please refer to the link below,

http://docs.fusioncharts.com/charts/contents/?ChartSS/ScrollCombiDY2D.html

 

If this does not help, please share the XML data to look into the issue.

 

Hope this helps!

 

Share this post


Link to post
Share on other sites

Hi,

I added PYAxisMaxValue='140' to the chart element, like:

<chart caption=.... PYAxisMaxValue='140'>

 

However, the left-hand side Y-axis limit is not affected at all, it is still rendered at 700 in the chart, same as what is shown in the picture in the first post.

 

Thanks.

Share this post


Link to post
Share on other sites

Hey,

 

If any data value in your XML exceeds the value defined for Primary Y axis maximum value(PYAxisMaxValue='140'), FusionCharts will automatically overrides it. No data value can be below the minimum y-axis value or above maximum y-axis value - they have to be within axis range

 

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