nikhilambekar Report post Posted June 5, 2013 Hi, Can you let me know when does the setAdaptiveYMin parameter works. I have generated two xml One in which setting setAdaptiveYMin shows adapted graph while in other graph has no effect. Thanks Adaptation does not work.xml Adaptation works.xml Share this post Link to post Share on other sites
Haritha Report post Posted June 10, 2013 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
nikhilambekar Report post Posted June 11, 2013 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
Sanjukta Report post Posted June 11, 2013 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