Sign in to follow this  
nikhilambekar

Set Adaptive Y Min Issue

Recommended Posts

Hi,

 

The attribute "setAdaptiveYMin" when set to '1' lets the y-axis lower limit adapt itself to a different figure based on values provided to the chart. 

 

In the XML "Adaptation works.xml", the values in the set element are provided in such a way that the minimum value on Y-axis can be adapted to any other value other than 0. While in the XML "Adaptation does not work.xml", the values in the set element ( mostly '1') are provided in such a way that the minimum value cannot be adapted to any value other than 0. Also, the number of divisional lines on on x-axis also help in determining the minimum value on y-axis.

 

Hope this helps.

Share this post


Link to post
Share on other sites

 

Hi,
 
The attribute "setAdaptiveYMin" when set to '1' lets the y-axis lower limit adapt itself to a different figure based on values provided to the chart. 
 
In the XML "Adaptation works.xml", the values in the set element are provided in such a way that the minimum value on Y-axis can be adapted to any other value other than 0. While in the XML "Adaptation does not work.xml", the values in the set element ( mostly '1') are provided in such a way that the minimum value cannot be adapted to any value other than 0. Also, the number of divisional lines on on x-axis also help in determining the minimum value on y-axis.
 
Hope this helps.

Thanks for the reply.

 

Can you please elaborate since i have seen the graph having much similar values gets adapted(e.g 65,64). Also for the above (" Adaptation does not work.xml") why not the graph can get adapted to a decimal values(e.g ranges in 0.5 etc).Also please explain how does  the number of divisional lines on on x-axis help in determining the minimum value on y-axis?.

Share this post


Link to post
Share on other sites

Thanks for the reply.

 

Can you please elaborate since i have seen the graph having much similar values gets adapted(e.g 65,64). Also for the above (" Adaptation does not work.xml") why not the graph can get adapted to a decimal values(e.g ranges in 0.5 etc).Also please explain how does  the number of divisional lines on on x-axis help in determining the minimum value on y-axis?.

Hi,

 

Please note that FusionCharts has its internal mathemtical calculation where the chart takes up the closest possible round-figure value as the minimum Y-axis value. Hence, decimals are avoided if there is a closer round-figure value available.

 

Also, in case you have specified 9 divisional lines explicitly in your XML, where your Y-axis values would mostly range from 0-5, the chart would automatically display the values starting from 0, 0.5, 1, ..., 4.5, 5.

 

However, in case you wish to provide a specific y-axis minimum value, we would request you to explicitly set the same in "yAxisMinValue" attribute, making anote that the minimum value is is lower or equal to the smalles value in the XML.

 

Hope this clarifiies your query.

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