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
25
jpgraph/Examples/radarex4.php
Normal file
25
jpgraph/Examples/radarex4.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_radar.php");
|
||||
|
||||
// Some data to plot
|
||||
$data = array(55,80,26,31,95);
|
||||
|
||||
// Create the graph and the plot
|
||||
$graph = new RadarGraph(250,200,"auto");
|
||||
|
||||
// Create the titles for the axis
|
||||
$titles = $gDateLocale->GetShortMonth();
|
||||
$graph->SetTitles($titles);
|
||||
|
||||
// Add grid lines
|
||||
$graph->grid->Show();
|
||||
$graph->grid->SetLineStyle('dotted');
|
||||
|
||||
$plot = new RadarPlot($data);
|
||||
$plot->SetFillColor('lightblue');
|
||||
|
||||
// Add the plot and display the graph
|
||||
$graph->Add($plot);
|
||||
$graph->Stroke();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue