<?php 
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_radar.php');
 
$data = array(55,80,26,31,95);
 
$graph = new RadarGraph(250,200);
 
$graph->SetShadow();
 
$titles = $gDateLocale->GetShortMonth();
$graph->SetTitles($titles);
$graph->SetColor('lightyellow');
 
$graph->SetCenter(0.45,0.5);
 
$graph->grid->Show();
$graph->grid->SetColor('darkred');
$graph->grid->SetLineStyle('dashed');
 
$plot = new RadarPlot($data);
$plot->SetFillColor('lightblue');
$plot->SetLegend("QA results");
 
$graph->Add($plot);
$graph->Stroke();
?> |