Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
include ("../jpgraph.php");
3
include ("../jpgraph_radar.php");
4
 
5
// Some data to plot
6
$data = array(55,80,46,71,95);
7
 
8
// Create the graph and the plot
9
$graph = new RadarGraph(250,200,"auto");
10
 
11
// Create the titles for the axis
12
$titles = $gDateLocale->GetShortMonth();
13
$graph->SetTitles($titles);
14
 
15
$plot = new RadarPlot($data);
16
$plot->SetFillColor('lightblue');
17
 
18
// Add the plot and display the graph
19
$graph->Add($plot);
20
$graph->Stroke();
21
?>