forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
|
|
@ -1,31 +0,0 @@
|
|||
<?php
|
||||
// Gantt example
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_gantt.php");
|
||||
|
||||
//
|
||||
// The data for the graphs
|
||||
//
|
||||
$data = array(
|
||||
array(0,ACTYPE_GROUP, "Phase 1", "2001-10-26","2001-11-23",''),
|
||||
array(1,ACTYPE_NORMAL, " Label 2", "2001-10-26","2001-11-13",'[KJ]'),
|
||||
array(2,ACTYPE_NORMAL, " Label 3", "2001-11-20","2001-11-22",'[EP]'),
|
||||
array(3,ACTYPE_MILESTONE," Phase 1 Done", "2001-11-23",'M2') );
|
||||
|
||||
// Create the basic graph
|
||||
$graph = new GanttGraph();
|
||||
$graph->title->Set("Gantt Graph using CreateSimple()");
|
||||
|
||||
// Setup scale
|
||||
$graph->ShowHeaders(GANTT_HYEAR | GANTT_HMONTH | GANTT_HDAY | GANTT_HWEEK);
|
||||
$graph->scale->week->SetStyle(WEEKSTYLE_FIRSTDAY);
|
||||
|
||||
// Add the specified activities
|
||||
$graph->CreateSimple($data);
|
||||
|
||||
// .. and stroke the graph
|
||||
$graph->Stroke();
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue