jwcrosby Report post Posted May 15, 2009 I'm using a scatter chart with PHP Class and it's working fine, except for one thing. In my data, the maximum value of the x value is 12 and the maximum value of the y value is also 12. I want the chart to scale out with the full zero to 12 for x and zero to 12 for y, regardless of the actual x,y values in the particular data set. In other words, if the data set were to only have one plot, say (3,4), I want the chart to still show "potential" maximum x & y values of 12. I thought I had accomplished this with the following code for categories: $FC->addCategory("2","x=2;showVerticalLine=1"); $FC->addCategory("4","x=4;showVerticalLine=1"); $FC->addCategory("6","x=6;showVerticalLine=1"); $FC->addCategory("8","x=8;showVerticalLine=1"); $FC->addCategory("10","x=10;showVerticalLine=1"); $FC->addCategory("12","x=12;showVerticalLine=1"); I thought this would force the chart to have vertical lines at the 2, 4, 6, 8, 10 & 12 values, regardless of the actual data. But it doesn't all the time. If the data set happens to have some higher x or y values, it will, but if not, the chart shows a "smaller" chart. I don't want that. Ideas on what I should do? (Please feel free to ask me questions for clarification; I fear I have not explained this very well.) Jerry Share this post Link to post Share on other sites
jwcrosby Report post Posted May 15, 2009 I figured it out: had to use yAxisMaxValue and xAxisMaxValue in the $strParam= line and set them both = to 12. Got me what I wanted! Jerry Share this post Link to post Share on other sites
saptarshi Report post Posted May 22, 2009 Hello Jerry, Great! Happy FusionCharting! Share this post Link to post Share on other sites