JpGraph

高性能なグラフ生成ライブラリ

PHP5、PHP7、PHP8対応の高機能なグラフ生成ライブラリ
20種類以上の豊富なプロット形式をサポート

JpGraph サンプル

← 一覧に戻る
radarex1.php
radarex1
<?php // content="text/plain; charset=utf-8"
require_once ("jpgraph/jpgraph.php");
require_once ("jpgraph/jpgraph_radar.php");
require_once ("jpgraph/jpgraph_iconplot.php");

// Some data to plot
$data = array(55,80,46,71,95);

// Create the graph and the plot
$graph = new RadarGraph(250,200);
$plot = new RadarPlot($data);

// Add the plot and display the graph
$graph->Add($plot);
$graph->Stroke();
?>
← 一覧に戻る