needle->Set(30); // Add the odometer to the graph $graph->Add($odo); // ... and finally stroke and stream the image back to the client $graph->Stroke(); ?>