Graph Radar Graphs - hier MultiRadarGraph, auch Netzdiagramm oder Spinnennetzdiagramm
<?php
// siehe http://www.goat1000.com/svggraph-radar.php
require '../../svggraph/autoloader.php';
$settings = array(
'back_colour' => '#eee',
'stroke_colour' => '#000',
'back_stroke_width' => 0,
'back_stroke_colour'=> '#eee',
'axis_colour' => '#333',
'axis_overlap' => 2,
'axis_font' => 'Georgia',
'axis_font_size' => 10,
'grid_colour' => '#666',
'label_colour' => '#000',
'pad_right' => 20,
'pad_left' => 20,
'link_base' => '/',
'link_target' => '_top',
'fill_under' => true,
'marker_size' => 3,
'marker_type' => array('x', 'cross'),
'marker_colour' => array('blue', 'red')
);
$settings['graph_title']= "Beispiel SVGGraph Radar Graphs - hier \nMultiRadarGraph, auch Netzdiagramm oder Spinnennetzdiagramm";
$settings['auto_fit'] = true;
$values = array(
array('Dough' => 30, 'Ray' => 50, 'Me' => 40,
'So' => 25, 'Far' => 45, 'Lard' => 35),
array('Dough' => 20, 'Ray' => 30, 'Me' => 20,
'So' => 15, 'Far' => 25, 'Lard' => 35, 'Tea' => 45)
);
$colours = array(
array('red', 'yellow'), array('blue', 'white')
);
$links = array(
'Dough' => 'jpegsaver.php', 'Ray' => 'crcdropper.php',
'Me' => 'svggraph.php'
);
$graph = new Goat1000\SVGGraph\SVGGraph(400, 300, $settings);
$graph->colours($colours);
$graph->values($values);
$graph->links($links);
$graph->render('MultiRadarGraph');
?>