rhombus24 Report post Posted August 12, 2011 Hulo guys, I am trying to generate a scatter chart for protein ion masses for sample data with X,Y masses y='525.2074' x='310.2206' y='565.3224' x='345.1067' y='512.2254' x='310.2206' . . . . . But when I generate the chart, the y axis values show from 0-536 although I set 'yAxisMinValue="534" yAxisMaxValue='536'' The x values are fine as i use the 'category name' to define them. Please advice as I've been trying to get over this for about a 2 days now. Thanks in advance, Share this post Link to post Share on other sites
Sanjukta Report post Posted August 16, 2011 Hi, Please note that in case if any of the datavalue in the XML is lesser than the "yAxisMinValue" mentioned, the chart would ignore the explicitly set minimum value and automatically set itself to a lower value or '0' value in order to fit the lower datavalue. In this case it seems that there are a few "y" values (y='512.2254') that are lesser than the 'yAxisMinValue="534" '. In that case, the charts is taking up '0' as the "yAxisMinValue" to fit the data. Hope this helps. Share this post Link to post Share on other sites
rhombus24 Report post Posted August 17, 2011 Hi, Please note that in case if any of the datavalue in the XML is lesser than the "yAxisMinValue" mentioned, the chart would ignore the explicitly set minimum value and automatically set itself to a lower value or '0' value in order to fit the lower datavalue. In this case it seems that there are a few "y" values (y='512.2254') that are lesser than the 'yAxisMinValue="534" '. In that case, the charts is taking up '0' as the "yAxisMinValue" to fit the data. Hope this helps. Thanks for the brief insight but the values are consistent.. Below is the file Could it be that the HTML file which generates the chart be wrong? Data.xml Share this post Link to post Share on other sites
Swarnam Report post Posted August 18, 2011 Hi, Please note, minimum and maximum values are specified as yAxisMaxValue='534' yAxisMinValue='536' in the XML file attached. In this case the charts takes up the y values as zero because max and min values are interchanged. In the attached image please find the when Y axis values are set as follows: yAxisMinValue='534' yAxisMaxValue='536' I hope this helps. Thanks for the brief insight but the values are consistent.. Below is the file Could it be that the HTML file which generates the chart be wrong? Share this post Link to post Share on other sites
rhombus24 Report post Posted August 18, 2011 Hi, Please note, minimum and maximum values are specified as yAxisMaxValue='534' yAxisMinValue='536' in the XML file attached. In this case the charts takes up the y values as zero because max and min values are interchanged. In the attached image please find the when Y axis values are set as follows: yAxisMinValue='534' yAxisMaxValue='536' I hope this helps. ahhh yea I figured this out late last night.. Damn.. took me some good amount of time.. a silly mistake in the end! I have another question... Is their a way in fusion charts where I can select a small region and magnify the chart to the selected area? Thanks a lot Share this post Link to post Share on other sites
Swarnam Report post Posted August 19, 2011 Hi, I am glad that your issue is resolved. Yes, FusionCharts Zoom Line chart would help in magnifying the selected area. To know more about Zoom Line Chart, please refer to the following link: http://www.fusioncharts.com/docs/AttDesc/ZoomLine.html I hope this helps ahhh yea I figured this out late last night.. Damn.. took me some good amount of time.. a silly mistake in the end! I have another question... Is their a way in fusion charts where I can select a small region and magnify the chart to the selected area? Thanks a lot Share this post Link to post Share on other sites
Sanjukta Report post Posted August 19, 2011 Hi, Glad that your issue is resolved. Please note that the ZoomLine chart of the FusionCharts v3.2 and above pack supports the Zoom feature. Ref.- http://www.fusioncharts.com/docs/?ChartSS/ZoomLine.html Hope this helps. Share this post Link to post Share on other sites