CLASS MileStone EXTENDS GanttPlotObject
(Defined in: jpgraph_gantt.php : 3328)
 MileStone  GanttPlotObject 
 MileStone() 
 SetCaptionMargin() 
 SetConstrain() 
 SetCSIMAlt() 
 SetCSIMTarget() 
 SetLabelLeftMargin() 
 

Class usage and Overview
Represents a milestone in the GanttChart. A milstone is created by specifyin a date.

 

See also related classes:
GanttGraph

 


Class Methods

 

 

function MileStone($aVPos,$aLabel,$aDate,$aCaption)
Create a new milestone in a GanttGraph

ArgumentDefaultDescription
$aVPos  Row for milestone
$aLabel  Label
$aDate  Position on the date scale
$aCaption "" Caption string

Description
A milestone is by default displayed as a "Diamond" mark at a specified row at a specified date. It can also have a caption to the right of the milestone mark.  
 
See also
GanttPlotObject::GanttPlotObject

Example

$graph = new GanttGraph();

// Setup the gantt graph...
...

$ms = new MileStone(7,"M5","2002-01-28","28/1");
$graph->Add($ms);