hostspring Report post Posted February 2, 2009 Is there a way to pad the min/max value of the y axis scale in Line Chart? So if the minimum plotted value is zero (0), I'd like to see -1 on the chart even though no data is plotted to that value. This just adds a little space to the top/bottom of the plotted data. Similar to what jpgraph offers as described below: JPGraph option: Use the SetGrace() to specify some extra space (as percentage of the scale) between the min/max value and the limits of the scale. For example $graph->yscale->SetGrace(10) gives 10% extra space at the ends. Thank you. Share this post Link to post Share on other sites
Rahul Kumar Report post Posted February 3, 2009 Hi, Could you please try using yAxisMaxValue and yAxisMinValue in <chart> element? Share this post Link to post Share on other sites