Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31

Warning: htmlspecialchars() [function.htmlspecialchars]: charset `CHARSET' not supported, assuming utf-8 in /users/bpgs/www/bbclone/lib/io.php on line 31
Möglichkeiten der Datenvisualisierung - SVGGraph
SVGGraph
SVGGraph

Charts im SVG-Format mit der PHP-Bibliothek SVGGraph

Zunächst einige Grundbeispiele:

Einbindung über externe Schnittstelle und als img-Tag


Einbindung über externe Schnittstelle und als object-Tag


Einbindung über moziloCMS-PHP-Plugin Schnittstelle

{PHP|
// nur 1 Mal erforderlich
require_once '/libs/SVGGraph/SVGGraph.php';
$graph = new SVGGraph(400, 300);
$graph->Values(10, 14, 6, 3, 20, 14, 16);
echo $graph->Fetch('BarGraph', false);
// nur 1 Mal erforderlich
// echo $graph->FetchJavascript();
}

Einbindung über moziloCMS-PHP-Plugin Schnittstelle

{PHP|
// nur 1 Mal erforderlich
// require_once '/libs/SVGGraph/SVGGraph.php';
$graph = new SVGGraph(400, 300);
$graph->Values(10, 14, 6, 3, 20, 14, 16);
echo $graph->Fetch('Bar3DGraph', false);
// nur 1 Mal erforderlich
echo $graph->FetchJavascript();
}