source:
trunk/xgraph/jpgraph/Examples/radarex1.php
Last change on this file was 42, checked in by , 10 years ago | |
---|---|
File size: 421 bytes |
Line | |
---|---|
1 | <?php // content="text/plain; charset=utf-8" |
2 | require_once ('jpgraph/jpgraph.php'); |
3 | require_once ('jpgraph/jpgraph_radar.php'); |
4 | require_once ('jpgraph/jpgraph_iconplot.php'); |
5 | |
6 | // Some data to plot |
7 | $data = array(55,80,46,71,95); |
8 | |
9 | // Create the graph and the plot |
10 | $graph = new RadarGraph(250,200); |
11 | $plot = new RadarPlot($data); |
12 | |
13 | // Add the plot and display the graph |
14 | $graph->Add($plot); |
15 | $graph->Stroke(); |
16 | ?> |
Note: See TracBrowser
for help on using the repository browser.