clearTheme(); $graph->SetScale('intlin'); $graph->SetShadow(); // Setup margin and titles $graph->SetMargin(40,20,20,40); $graph->title->Set('Calls per operator (June,July)'); $graph->subtitle->Set('(March 12, 2008)'); $graph->xaxis->title->Set('Operator'); $graph->yaxis->title->Set('# of calls'); $graph->yaxis->title->SetFont( FF_FONT1 , FS_BOLD ); $graph->xaxis->title->SetFont( FF_FONT1 , FS_BOLD ); // Create the first data series $lineplot=new LinePlot($ydata); $lineplot->SetWeight( 2 ); // Two pixel wide // Add the plot to the graph $graph->Add($lineplot); // Create the second data series $lineplot2=new LinePlot($ydata2); $lineplot2->SetWeight( 2 ); // Two pixel wide // Add the second plot to the graph $graph->Add($lineplot2); // Display the graph $graph->Stroke(); ?>