Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/radarlogex2.php
include ("../jpgraph.php");
include ("../jpgraph_log.php");
include ("../jpgraph_radar.php");

// Some data to plot
$data = array(242,58,500,12,397,810,373);

// Create the graph
$graph = new RadarGraph(200,200,"auto");

// Uncomment the following line to use anti-aliasing 
// Note: Enabling this results in a very noticable slow
// down of the image generation! And more load on your
// server. Use it wisly!!

// Make the spider graph fill out it's bounding box

// Use logarithmic scale (If you don't use any SetScale()
// the spider graph will default to linear scale

// Uncomment the following line if you want to supress
// minor tick marks
// $graph->yscale->ticks->SupressMinorTickMarks();

// We want the major tick marks to be black and minor
// slightly less noticable

// Set the axis title font 

// Use blue axis

$plot = new RadarPlot($data);

// Add the plot and display the graph

Return current item: Monyet