Blame view

site/jpgraph/Examples/ganttex00.php 362 Bytes
8ec98c9f   Guillaume   MAJ
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
  ?>