forked from halo-battle/game
Version 1.9g
This commit is contained in:
parent
d028822d0b
commit
4c9814a99c
800 changed files with 237325 additions and 1949 deletions
21
jpgraph/Examples/radarex2.php
Normal file
21
jpgraph/Examples/radarex2.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_radar.php");
|
||||
|
||||
// Some data to plot
|
||||
$data = array(55,80,46,71,95);
|
||||
|
||||
// Create the graph and the plot
|
||||
$graph = new RadarGraph(300,200,"auto");
|
||||
|
||||
$graph->title->Set('Weekly goals');
|
||||
$graph->subtitle->Set('Year 2003');
|
||||
|
||||
$plot = new RadarPlot($data);
|
||||
$plot->SetFillColor('lightred');
|
||||
$graph->SetSize(0.6);
|
||||
$graph->SetPos(0.5,0.6);
|
||||
// Add the plot and display the graph
|
||||
$graph->Add($plot);
|
||||
$graph->Stroke();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue