Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
// $Id: fixscale_radarex1.php,v 1.1 2002/08/21 21:28:16 aditus Exp $
3
include ("../jpgraph.php");
4
include ("../jpgraph_radar.php");
5
 
6
$graph = new RadarGraph(300,300,'auto');
7
$graph->SetScale("lin",0,50);
8
$graph->yscale->ticks->Set(25,5);
9
$graph->SetColor("white");
10
$graph->SetShadow();
11
 
12
$graph->SetCenter(0.5,0.55);
13
 
14
$graph->axis->SetFont(FF_FONT1,FS_BOLD);
15
$graph->axis->SetWeight(2);
16
 
17
// Uncomment the following lines to also show grid lines.
18
//$graph->grid->SetLineStyle("longdashed");
19
//$graph->grid->SetColor("navy");
20
//$graph->grid->Show();
21
 
22
$graph->ShowMinorTickMarks();
23
 
24
$graph->title->Set("Quality result");
25
$graph->title->SetFont(FF_FONT1,FS_BOLD);
26
$graph->SetTitles(array("One","Two","Three","Four","Five","Sex","Seven","Eight","Nine","Ten"));
27
 
28
$plot = new RadarPlot(array(12,35,20,30,33,15,37));
29
$plot->SetLegend("Goal");
30
$plot->SetColor("red","lightred");
31
$plot->SetFillColor('lightblue');
32
$plot->SetLineWeight(2);
33
 
34
$graph->Add($plot);
35
$graph->Stroke();
36
 
37
?>