SetScale('linlin',0,110,0,96); $graph->yaxis->scale->ticks->Set(5,10); $graph->xaxis->scale->ticks->Set(5); $theme_class=new UniversalTheme; $graph->SetTheme($theme_class); $graph->img->SetAntiAliasing(false); $graph->title->Set('Graph'); $graph->img->SetMargin(70,15,30,125); // Sets the margin. L, R, T, B $graph->title->Set('Pan 7 Level'); $graph->subtitle->Set('(15 Minute Intervals)'); $graph->xaxis->title->Set(); $graph->yaxis->title->Set('%'); $graph->SetBox(false); $graph->img->SetAntiAliasing(); $graph->yaxis->HideZeroLabel(); $graph->yaxis->HideLine(false); $graph->yaxis->HideTicks(false,false); $graph->yaxis->title->Set('Pan Level'); $graph->yaxis->SetTitleMargin(50); $graph->xgrid->Show(); $graph->xgrid->SetLineStyle("solid"); $graph->xaxis->SetTickLabels($datay); $graph->xaxis->SetLabelAngle(65); $graph->xgrid->SetColor('#E3E3E3'); // Create line 3 $p3=new LinePlot($datax3); $p3->SetCSIMTargets($targ1,$alts1); $graph->Add($p3); $p3->SetColor("orange"); $p3->mark->SetType(MARK_CIRCLE); $p3->SetLegend(''); $graph->legend->SetFrameWeight(1); // Output line $graph->StrokeCSIM('../trends/pan7.php'); ?>