SetScale("textlin"); $graph->SetShadow(); // Create the lines of the Graph for($i=0;$iSetFillColor($color_array[$i]); $bplot[$i]->SetWidth(10); $bplot[$i]->value->Show(); $bplot[$i]->value->SetFont(FF_FONT1,FS_NORMAL,8); $bplot[$i]->value->SetColor("black"); $bplot[$i]->value->SetFormat('%d'); $bplot[$i]->SetValuePos('max'); } $gbplot = new AccBarPlot($bplot); $gbplot->SetWidth(0.7); // Add the bar to the graph $graph->Add($gbplot); $graph->xaxis->SetTickLabels($datax); $graph->title->Set($title); $graph->Set90AndMargin($left,$right,$top,$bottom); //$graph->SetFrame(false); $graph->title->SetFont(FF_FONT1,FS_BOLD); $graph->yaxis->title->SetFont(FF_FONT1,FS_BOLD); $graph->xaxis->title->SetFont(FF_FONT1,FS_BOLD); $graph->SetColor("#7D9CB8"); $graph->SetMarginColor("#3D6A93"); // Display the graph $graph->Stroke(); ?>