I want to set the y-axis max and min limit from like 50 to 100
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



I want to set the y-axis max and min limit... Expand / Collapse
Author
Message
Posted 3/21/2008 12:05:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/2/2008 9:53:52 AM
Posts: 8, Visits: 26
Hi all,

the values i am passing to a multiseries line FS are between 60 to 80 and i set the y-axis max and min limit to 60 and 80 respectively. But chart is being plotted from 0 to 80. Why?

I want to set the limit from 60 to 80 only. What should i do?

Post #5196
Posted 3/21/2008 4:01:19 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117, Visits: 498
Make sure that none of values are <60.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #5213
Posted 3/28/2008 1:02:37 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/1/2008 2:27:39 PM
Posts: 2, Visits: 7
Edited to include my opening XML information...

I'm having a similar problem as this and the secondary y-axis problem reported last month, http://www.fusioncharts.com/forum/Topic3341-41-1.aspx. I set the minimum (3.00) and maximum (4.50) values the same for both axes but the S-axis starts at zero anyway.

I am using the Combination 2D bar/line graph to track local gas prices. If you don't read the chart carefully, the right-hand side of the chart looks like unleaded gas is 90 cents per gallon: http://www.wbay.com/Global/category.asp?C=74537

I tried the solution in last month's topic but that resulted in diesel prices becoming a bar chart (P-axis), not a line. I tried setting the SYAxisMinValue at 3, at 3.00, and 3.0. I tried setting the values in the XML file with quotation marks (") and single marks ('). I tried not setting values at all. I tried putting them before or after the PYAxis settings. I tried it with and without formatNumberScale.

I ensured none of the data is beneath 3.00 -- the lowest fuel (P-axis) price is 3.09, the lowest diesel (S-axis) price is 3.75.

Here is the opening of my XML file. If you need the complete data, let me know.

graph caption=' ' PYAxisName='Unleaded Price' SYAxisName='Diesel Price' bgSWF='pumpinggas.jpg' showShadow='0' canvasBgAlpha='40' canvasBorderThickness='0' SYAxisMinValue='3.00' SYAxisMaxValue='4.50' PYAxisMinValue='3.00' PYAxisMaxValue='4.50' hovercapbg='CEDBFF' hovercapborder='639AFF' formatNumberScale='0' numberPrefix='$' numberSuffix='.9' decimalPrecision='2' showvalues='0' animation='1' numdivlines='14' numVdivlines='0' rotateNames='1' outCnvBaseFontColor='FFFFFF' 
  

Post #5307
Posted 3/28/2008 11:21:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/2/2008 2:07:28 PM
Posts: 3, Visits: 14
Pallav (3/21/2008)
Make sure that none of values are <60.

I've got a similar problem.  I found that I was trying to set my min value to the lowest value I was charting when I really needed to set it to a value LESS than my minimum value.

Thanks,

Mark

Post #5313
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 10:30am


Execution: 0.031.