|
Posted by johnbkim on 02/24/07 01:46
> 2. I'm setting the X axis scale to go from $t0 to $t1, but why isn't
> it ending right on the hour?
> 3. How do I set the X axis tick intervals to 30 or 60 minute
> intervals? (I tried $graph->xaxis->SetTickLabelInterval()).
I stumbled upon the answer:
// set major ticks to 60 mins, minor to 15 mins.
$graph->xaxis->ticks->Set( 60*60, 60*15 );
This also fixed the problem of X axis scale not going all the way to
$t1. Not sure why, but it works now after I added the above line.
j.
Navigation:
[Reply to this message]
|