Sign in to follow this  
Nishi

Setting the y axis max value

Recommended Posts

Hi,

 

I am having a chart with yaxis unit as percentage. Since the y axis is in percentage i need to set the maximum value to 100.I have set it using the attribute yAxisMaxValue='100'.But in the xml if the values are 99 and 1 the max value is showing as 100 and if the values are 99.44 and 0.56 the max value is exceeding 100 and setting as 110.The same thing if i set statically as 99.43 and 0.57 the max value is setting as 100.I dont know what is haapeng.The problem is that i cannot set the value less than 100 myself since the value are coming dynamically.I am sending a sample code.Please do the needful.

 

 

 

 

 

Regards

 

Nishi

fusionsample.txt

Share this post


Link to post
Share on other sites

HI Sanjuktha,

 

The issue is not resolve for me.Thats why i asked again.Can u please try it using the xml which i have sent. I have given sample values also to check out.I am not able to set the value to 100 statically as u told before since the values are coming dynamically.

 

 

 

 

 

Thanks

 

Nishi

Share this post


Link to post
Share on other sites

Hi Nishi,

Apologies for the inconvenioence caused.

There are a few floating number issues which causes this error. Our developers are currently looking into this issue for a permanent fix.

Also, could you please try setting the attribute yAxisMaxValue='100.000001' in the <chart> element?

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi Sanjuktha,

 

Thanks a lot for the information.It works fine now.:)

 

 

 

But once u get a permanent fix please inform.

 

 

 

Regards

 

Nishi

Share this post


Link to post
Share on other sites

Hi Nishi,

You are welcome. :)

Glad that your issue is resolved.

We will surely inform you as soon we come up with any solution to this issue.

Happy FusionCharting! :)

Edited by Guest

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