Bellsy Report post Posted March 16, 2011 Hi, I'm designing a graph where values fluctuate above and below zero within a set range. I have set yAxisMinValue & yAxisMaxValue to be -600 & 600 respectively which works fine in normal scenarios, however the data for the graph comes from a third party and is often delayed. This results in large negative values, which then overrides the yAxisMinValue and skews the scale on the graph and basically renders it unreadable for the user. Is there a flag I can set that will allow any large negatives to disapper outside the y axis value range, fixing the scale of the graph no matter what data is supplied to it. I thought setAdaptiveYMin would do it, but after trying it and reading the documentation it does not. Cheers, Steve. Share this post Link to post Share on other sites
Guest Angie Report post Posted March 16, 2011 Hi, Welcome to FusionCharts Forum! Please try the same using Zero Plane. For more details, please refer to the link:http://www.fusioncharts.com/docs/?AttDesc/ZeroPlane.html Hope this helps. Share this post Link to post Share on other sites
Bellsy Report post Posted March 17, 2011 Hi, Welcome to FusionCharts Forum! Please try the same using Zero Plane. For more details, please refer to the link:http://www.fusioncha.../ZeroPlane.html Hope this helps. Hi Angie, Thanks for your response but it didn't have the desired effect. As a workaround in my SQL I've put a 'limit' on the min/max value it supplies to the graph which has the same basic effect (I've attached an image so you can see). If anyone has any other ideas I'm all ears. Thanks, Steve. Share this post Link to post Share on other sites
Guest Angie Report post Posted March 17, 2011 (edited) Hi, Welcome to FusionCharts Forum! FusionCharts automatically tries to adjust divisional lines and limit values based on the data provided. However, if you want to set your explicit lower and upper limit values and number of divisional lines, first set <adjustDiv> attribute to false. That would disable automatic adjustment of divisional lines. Hope this helps. Edited March 17, 2011 by Angie Share this post Link to post Share on other sites
Bellsy Report post Posted March 23, 2011 Hi Angie, Thanks again, but it didn't seem to make any difference. Just so you can see what I've done, this is my chart tag code. xmlData.Append("<chart bgalpha='0' caption='" & caption & "' subcaption='' labelDisplay='ROTATE' slantLabels='1' xaxisname='" & xaxis & "' yaxisname='" & yaxis & "' lineThickness='2' showValues='0' drawanchors='1' formatNumberScale='0' shadowAlpha='40' labelStep='3' palette='3' showborder='0' bgColor='FFFFFF' alternateHGridColor='3D6CB2' setAdaptiveYMin='0' imageSave='1' imageSaveURL='FCExporter.aspx' showExportDataMenuItem='1' showZeroPlane='1' yAxisMinValue='-600' yAxisMaxValue='600' adjustDiv='0' >" Looks like I'll just stick with the SQL workaround, the users understand what it means when they see a +/- 600 on the graph so that will have to do. Regards, Steve. Hi, Welcome to FusionCharts Forum! FusionCharts automatically tries to adjust divisional lines and limit values based on the data provided. However, if you want to set your explicit lower and upper limit values and number of divisional lines, first set <adjustDiv> attribute to false. That would disable automatic adjustment of divisional lines. Hope this helps. Share this post Link to post Share on other sites
Guest Angie Report post Posted March 23, 2011 Hi, Welcome to FusionCharts Forum! Could you please send us the generated XML code to look into the issue from our end? Awaiting for your reply. Share this post Link to post Share on other sites