PHP5、PHP7、PHP8対応の高機能なグラフ生成ライブラリ
20種類以上の豊富なプロット形式をサポート
<?php // content="text/plain; charset=utf-8"
require_once ("jpgraph/jpgraph.php");
require_once ("jpgraph/jpgraph_gantt.php");
// A new graph with automatic size
$graph = new GanttGraph();
// A new activity on row '0'
$activity = new GanttBar(0,"Activity 1","2001-12-21","2002-01-19");
$graph->Add($activity);
// Display the Gantt chart
$graph->Stroke();
?>
← 一覧に戻る