CLASS GanttPlotObject
(Defined in: jpgraph_gantt.php : 1106)
 GanttPlotObject 
 SetCaptionMargin() 
 SetLabelLeftMargin() 
 

Class usage and Overview
Abstract base class to hold common properties for all objects that are drawn on the Gantt plot like activity bars, milestones, vertical markers.

Internal method that can't be instantiated directly. Used to capture the common properties of all objects that can be added to the Ganttgraph, i.e. GanttBar, MileStones GanttVLine.

 

See also related classes:
GanttGraph, GanttBar, GanttVLine and MileStone

 


Class Methods

 

 

function SetCaptionMargin($aMarg)
Specify margin (in pixels) between object and caption string

ArgumentDefaultDescription
$aMarg  Margin in pixels

Description
Specify margin (in pixels) between object and caption string 

Example

$ms->SetCaptionMargin(20);

 

 

function SetLabelLeftMargin($aOff)
Specify offset (in pixels) for the title of this object.

ArgumentDefaultDescription
$aOff  Offset in pixels

Description
Specify offset (in pixels) for the title of this object 

Example

$ms->SetLabelLeftMargin(20);