SetScale("textlin"); // $theme_class=new UniversalTheme; // $graph->SetTheme($theme_class); $graph->img->SetAntiAliasing(false); $graph->title->Set('FilledY-grid'); $graph->SetBox(false); $graph->img->SetAntiAliasing(); $graph->yaxis->HideZeroLabel(); $graph->yaxis->HideLine(false); $graph->yaxis->HideTicks(false,false); $graph->xgrid->Show(); $graph->xgrid->SetLineStyle("solid"); $graph->xaxis->SetTickLabels(array('A','B','C','D')); $graph->xgrid->SetColor('#E3E3E3'); //Createthefirstline $p1=new LinePlot($datay1); $graph->AddLine($p1); $p1->SetColor("#6495ED"); // //Createthesecondline // $p2=new LinePlot($datay2); // $graph->Add($p2); // $p2->SetColor("#B22222"); // $p2->SetLegend('Line2'); // //Createthethirdline // $p3=new LinePlot($datay3); // $graph->Add($p3); // $p3->SetColor("#FF1493"); // $p3->SetLegend('Line3'); // // $graph->legend->SetFrameWeight(1); //Outputline $graph->Stroke(); ?>