SetScale('intlin',0,105); //$graph->SetTickDensity(TICKD_DENSE); //$graph->SetTickInterval(1,2); $theme_class=new UniversalTheme; $graph->SetTheme($theme_class); $graph->img->SetAntiAliasing(false); $graph->title->Set('Graph'); $graph->img->SetMargin(70,15,30,100); // Sets the margin. L, R, T, B //$graph->SetMarginColor('silver'); $graph->title->Set('All Pan Levels'); $graph->subtitle->Set('(15 Minute Intervals)'); $graph->xaxis->title->Set(); $graph->yaxis->title->Set('%'); $graph->SetBox(false); $graph->footer->right->Set('Timer (ms): '); $graph->footer->SetTimer($timer); $graph->legend->SetPos($aX,$aY,$aHAlign='right',$aVAlign='top'); $graph->img->SetAntiAliasing(); $graph->yaxis->HideZeroLabel(false); $graph->yaxis->HideLine(false); $graph->yaxis->HideTicks(false,false); $graph->yaxis->title->Set('Pan Level'); $graph->yaxis->SetTitleMargin(50); $graph->xgrid->Show(true,true); $graph->xgrid->SetLineStyle("solid"); $graph->xaxis->SetTickLabels($datay); //$graph->xaxis->SetTickDensity(TICKD_DENSE); $graph->xaxis->SetLabelAngle(65); $graph->xgrid->SetColor('#E2E2E2'); // Create line 1 $p1=new LinePlot($datax1); $graph->Add($p1); $p1->SetColor("#6495ED"); $p1->SetLegend('Pan 5'); // Create line 2 $p2=new LinePlot($datax2); $graph->Add($p2); $p2->SetColor("#B22222"); $p2->SetLegend('Pan 6'); // Create line 3 $p3=new LinePlot($datax3); $graph->Add($p3); $p3->SetColor("orange"); $p3->SetLegend('Pan 7'); // Create line 4 $p4=new LinePlot($datax4); $graph->Add($p4); $p4->SetColor("blue"); $p4->SetLegend('Pan 8'); // Create line 5 $p5=new LinePlot($datax5); $graph->Add($p5); $p5->SetColor("red"); $p5->SetLegend('Pan 9'); $graph->legend->SetFrameWeight(1); // Output line $graph->Stroke(); ?>