macsig Report post Posted March 2, 2010 Hello there, I'm a newbie and I have hard time understanding why the code below: xml.graph(:numdivlines => '10', :lineThickness => '3', :showValues => '0', :numVDivLines => '10', :formatNumberScale => '1', :rotateNames => '1', :decimalPrecision => '1', :nchorRadius => '2', :nchorBgAlpha => '0', :numberPrefix => '', :divLineAlpha => '30', :showAlternateHGridColor => '1', :yAxisMinValue => '4.0', :yAxisMaxValue => '4.4', :shadowAlpha => '50') generates the chart below: yAxisMinValue shouldn't define the lower point of the chart? Am I missing something? Thanks. Sig Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 2, 2010 Hello Sig, FusionCharts calculates the limits of the chart based on the dataplot values. yAxisMinValue attribute works for the chart. But, this situation can arise due to: 1. No <set> elements being defined 2. If any of the set element values are below the yAxisMinValue fixed for the chart, then the limits will extend down. If you could please send us the generated XML so that we can check on it? ref. - http://www.fusioncharts.com/docs/Contents/Debug/window.html Share this post Link to post Share on other sites
macsig Report post Posted March 3, 2010 thanks for your reply. I'm not sure how I can get the XML file. I use a builder on my rails app. Anyway I will try to get it and to post here. Have a nice day. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 3, 2010 Hi, We will be waiting for your reply and the XML codes. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 3, 2010 Hi About getting the xml... there are 2 ways, 1. You can get the xml from the log file in rails. 2. If you are using v3 version of FusionCharts, then enable the debugMode to see the debug Window, where you can see the xml. Hope this helps. Srividya Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 3, 2010 Hello, You can enable the debugMode in the constructor for rendering FusionCharts. e.g. render_chart_html '/FusionCharts/Column3D.swf', '/Data/Data.xml', '', 'myFirstHTML', 600, 300, true do-%> ref. - http://www.fusioncharts.com/docs/Contents/Ruby_basicexample.html Share this post Link to post Share on other sites
macsig Report post Posted March 3, 2010 thanks for the replies. I found the issue, I misspelled the parameter to pass so the set was empty. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 3, 2010 Hi, Glad that your issue is resolved. Happy FusionCharting. Share this post Link to post Share on other sites