source:
trunk/xgraph/jpgraph/Examples/ganttex00.php@
42
| Last change on this file since 42 was 42, checked in by , 11 years ago | |
|---|---|
| File size: 376 bytes | |
| Line | |
|---|---|
| 1 | <?php // content="text/plain; charset=utf-8" |
| 2 | require_once ('jpgraph/jpgraph.php'); |
| 3 | require_once ('jpgraph/jpgraph_gantt.php'); |
| 4 | |
| 5 | // A new graph with automatic size |
| 6 | $graph = new GanttGraph(); |
| 7 | |
| 8 | // A new activity on row '0' |
| 9 | $activity = new GanttBar(0,"Activity 1","2001-12-21","2002-01-19"); |
| 10 | $graph->Add($activity); |
| 11 | |
| 12 | // Display the Gantt chart |
| 13 | $graph->Stroke(); |
| 14 | ?> |
Note:
See TracBrowser
for help on using the repository browser.
