SetScale("textlin"); $theme_class=new UniversalTheme; $graph->SetTheme($theme_class); $graph->img->SetAntiAliasing(false); $graph->title->Set('Capteur '.$_REQUEST['nom']); $graph->SetBox(false); $graph->SetMargin(40,30,40,50); $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($datax); $graph->xgrid->SetColor('#E3E3E3'); // Create the line $p = new LinePlot($datay); $graph->Add($p); $p->SetColor("#6495ED"); // Afficher les valeurs pour chaque point $p->value->Show(); // Valeurs: Apparence de la police $p->value->SetFormat('%.1f'); $p->value->SetColor("red"); // Chaque point de la courbe **** // Type de point $p->mark->SetType(MARK_FILLEDCIRCLE); // Couleur de remplissage $p->mark->SetFillColor("green"); // Taille $p->mark->SetWidth(5); // Output line $graph->Stroke(); ?>