Inizializzazione
This commit is contained in:
14
jpgraph-3.5.0b1/src/Examples/ganttex00.php
Normal file
14
jpgraph-3.5.0b1/src/Examples/ganttex00.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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();
|
||||
?>
|
||||
Reference in New Issue
Block a user