img->SetMargin(60,40,40,40); $graph->img->SetAntiAliasing(); $graph->SetScale("linlog", 1, 1, 0, 100); $graph->xgrid->Show(true,true); $graph->ygrid->Show(true,true); #$graph->SetShadow(); $graph->title->SetFont(FF_ARIAL,FS_BOLD, 12); $graph->xaxis->title->SetFont(FF_VERDANA); $graph->yaxis->title->SetFont(FF_VERDANA); $graph->yaxis->HideTicks(); $graph->yaxis->SetTitleMargin(40); $graph->title->Set("SLOC versus $scorename $count projetos avaliados"); $graph->xaxis->title->Set("Índice de $scorename"); $graph->yaxis->title->Set("SLOC"); $sp1 = new ScatterPlot($x,$y); $sp1->mark->SetType(MARK_FILLEDCIRCLE); $sp1->mark->SetWidth(2); $graph->Add( $sp1); $graph->Stroke(); } ?>