Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/ganttex00.php
<?php
include ("../jpgraph.php");
include ("../jpgraph_gantt.php");

// A new graph with automatic size
$graph = new GanttGraph(0,0,"auto");

//  A new activity on row '0'
$activity = new GanttBar(0,"Project","2001-12-21","2002-02-20");
$graph->Add($activity);

// Display the Gantt chart
$graph->Stroke();
?>
Return current item: Monyet