Sign in to follow this  
lolek

How to access yAxisMaxValue

Recommended Posts

Hi,

 

 

 

Is there a way to access yAxisMaxValue attribute of a chart in case when the user didn't specifically defined it? My reasoning is that even if this value wasn't set by user it is somehow automatically calculated. I'd like to access it or get to know the way it's computed.

 

 

 

Kind regards,

 

Ola

Share this post


Link to post
Share on other sites

Hi Ola,

The attribute yAxisMaxValue helps to explicitly set the upper limit of the chart.

In case the value for this attribute is not specified, it is automatically calculated by FusionCharts based on the data provided by the user.

 

I'd like to access it or get to know the way it's computed

There are no specific or fixed ways of computing this value.

The chart automatically takes up a marginally higher value than the highest value in the data provided and thus sets the chart limits accordingly.

Hope this helps. :D

Share this post


Link to post
Share on other sites

HI,

 

Please use the PrePaint event of RadChart to iterate over the axis items and set the text of the last axis item to an empty string. This should override the label.

 

I think it may help you for solving your problem.

 

Best of luck.

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