454 lines
42 KiB
HTML
454 lines
42 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><style type="text/css">
|
||
|
<!--
|
||
|
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
|
||
|
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: none; color: #000000}
|
||
|
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: small; text-decoration: underline; color: #FF0000}
|
||
|
A.no:link {font-family:inherit; font-size: inhreit;text-decoration: none; color: #000000}
|
||
|
A.no:visited {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
|
||
|
A.no:hover {font-family:inherit; font-size: inherit;text-decoration: none; color: #000000}
|
||
|
th {font-family: helvetica, arial; color : black; font-size:90%; background : #b7c8b7; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
||
|
td {font-family: helvetica, arial; color : black; font-size:90%; background : white; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
||
|
|
||
|
//-->
|
||
|
</style></HEAD><hr><div style="padding-left:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;background-color:#deaa87;font-family:courier new;font-size:16pt;">Class <a class="no" name="_C_GANTTGRAPH"><b>GanttGraph</b></a> Extends <a style="font-size:14pt;text-decoration:underline;"href="Graph.html#_C_GRAPH " style="font-face:arial;font-weight:bold;">Graph </a></div>
|
||
|
<i>(Defined in: jpgraph_gantt.php : 331)</i><br> <br><table cellspaceing=0 cellpadding=4 style="border:solid #303030 1px;"><tr><td align="center" style="background:lightgray;" > <a href="GanttGraph.html" style="font-family:arial;font-weight:bold;color:darkblue;">GanttGraph</a> </td><td align="center" style="background:lightgray;" > <a href="Graph.html" style="font-family:arial;font-weight:bold;color:darkblue;">Graph</a> </td></tr><tr><td valign=top> <a href="GanttGraph.html#_GANTTGRAPH_ADD">Add()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_CREATESIMPLE">CreateSimple()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETDATERANGE">SetDateRange()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETLABELVMARGINFACTOR">SetLabelVMarginFactor()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETSIMPLEFONT">SetSimpleFont()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETSIMPLESTYLE">SetSimpleStyle()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETVMARGINFACTOR">SetVMarginFactor()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SETZOOMFACTOR">SetZoomFactor()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_SHOWHEADERS">ShowHeaders()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_STROKE">Stroke()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH_STROKETEXTS">StrokeTexts()</a> <br>
|
||
|
<a href="GanttGraph.html#_GANTTGRAPH___CONSTRUCT">__construct()</a> <br>
|
||
|
</td><td valign=top> <a href="Graph.html#_GRAPH_ADD" style="color:darkgrey;">Add() </a><br>
|
||
|
<a href="Graph.html#_GRAPH_ADDBAND">AddBand()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_ADDLINE">AddLine()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_ADDTEXT">AddText()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_ADDY">AddY()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_ADDY2">AddY2()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_CHECKCSIMCACHE">CheckCSIMCache()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_GETCSIMIMGHTML">GetCSIMImgHTML()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_GETHTMLIMAGEMAP">GetHTMLImageMap()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SET3DPERSPECTIVE">Set3DPerspective()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SET90ANDMARGIN">Set90AndMargin()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETALPHABLENDING">SetAlphaBlending()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETANGLE">SetAngle()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETAXISLABELBACKGROUND">SetAxisLabelBackground()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETAXISSTYLE">SetAxisStyle()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDCFLAG">SetBackgroundCFlag()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDCOUNTRYFLAG">SetBackgroundCountryFlag()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDGRADIENT">SetBackgroundGradient()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDIMAGE">SetBackgroundImage()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDIMAGEMIX">SetBackgroundImageMix()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBACKGROUNDIMAGEPOS">SetBackgroundImagePos()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETBOX">SetBox()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETCLIPPING">SetClipping()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETCOLOR">SetColor()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETCSIMIMGALT">SetCSIMImgAlt()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETFRAME">SetFrame()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETFRAMEBEVEL">SetFrameBevel()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETGRIDDEPTH">SetGridDepth()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETICONDEPTH">SetIconDepth()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETIMGFORMAT">SetImgFormat()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETMARGIN">SetMargin()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETMARGINCOLOR">SetMarginColor()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETSCALE" style="color:darkgrey;">SetScale() </a><br>
|
||
|
<a href="Graph.html#_GRAPH_SETSHADOW">SetShadow()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETTEXTSCALEABSCENTEROFF">SetTextScaleAbsCenterOff()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETTICKDENSITY">SetTickDensity()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETTITLEBACKGROUND">SetTitleBackground()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETTITLEBACKGROUNDFILLSTYLE">SetTitleBackgroundFillStyle()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETUSERFONT">SetUserFont()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETUSERFONT1">SetUserFont1()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETUSERFONT2">SetUserFont2()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETUSERFONT3">SetUserFont3()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETY2ORDERBACK">SetY2OrderBack()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETY2SCALE">SetY2Scale()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETYDELTADIST">SetYDeltaDist()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_SETYSCALE">SetYScale()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_STROKE" style="color:darkgrey;">Stroke() </a><br>
|
||
|
<a href="Graph.html#_GRAPH_STROKECSIM">StrokeCSIM()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_STROKECSIMIMAGE">StrokeCSIMImage()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_STROKEFRAMEBACKGROUND">StrokeFrameBackground()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH_STROKESTORE">StrokeStore()</a> <br>
|
||
|
<a href="Graph.html#_GRAPH___CONSTRUCT" style="color:darkgrey;">__construct() </a><br>
|
||
|
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Create a Gantt graph. The Gantt graph can then be built up by adding activity bars and milestones. <p>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="GanttBar.html">GanttBar</a>, <a href="GanttVLine.html">GanttVLine</a> and <a href="MileStone.html">MileStone</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_ADD"><span style="color:#555555;">GanttGraph ::</span><br><b>Add</b>($aObject)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Add a new Gantt object</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aObject</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Gantt plot object</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Add a gantt object to the graph. A gantt object is an instance of either:
|
||
|
<ul>
|
||
|
<li> GanttBar
|
||
|
<li> MileStone
|
||
|
<li> GanttVLine
|
||
|
</ul> <br>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$vline </span><span style="color: #007700">= new </span><span style="color: #0000BB">GanttVLine</span><span style="color: #007700">(</span><span style="color: #DD0000">"2002-02-28"</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB">$vline</span><span style="color: #007700">-></span><span style="color: #0000BB">title</span><span style="color: #007700">-></span><span style="color: #0000BB">Set</span><span style="color: #007700">(</span><span style="color: #DD0000">"2002-02-28"</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB">$vline</span><span style="color: #007700">-></span><span style="color: #0000BB">title</span><span style="color: #007700">-></span><span style="color: #0000BB">SetFont</span><span style="color: #007700">(</span><span style="color: #0000BB">FF_FONT1</span><span style="color: #007700">,</span><span style="color: #0000BB">FS_BOLD</span><span style="color: #007700">,</span><span style="color: #0000BB">10</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">Add</span><span style="color: #007700">(</span><span style="color: #0000BB">$vline</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_CREATESIMPLE"><span style="color:#555555;">GanttGraph ::</span><br><b>CreateSimple</b>($data, $constrains, $progress)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>A utility function to help create the Gantt charts</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$data</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Gantt bar specification (See below)</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$constrains</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #007700">array()</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</td><td>Constrain specification (see below)</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$progress</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #007700">array()</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</td><td>Progress specification (see below)</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>For a simple Gantt graphs this will simplify it's creation. The idea is that this method accepts a number of data arrays which specifies the activities in the Gantt graph.
|
||
|
<p>
|
||
|
<b>Description of arguments</b><br>
|
||
|
<ul>
|
||
|
<li> $data. Specifies the basic type of activity. Eac entry is an array with the following content:
|
||
|
<ol>
|
||
|
<li> Row where activity whould be
|
||
|
<li> Type of activity, can be one of ACTYPE_NORMAL, ACTYPE_GROUP, ACTYUPE_MILESTONE
|
||
|
<li> Activity title
|
||
|
<li> Start date
|
||
|
<li> End date
|
||
|
<li> Caption text
|
||
|
</ol>
|
||
|
<li> $constrains. Specifies potential constrain links between activities each entry is an array with the following content
|
||
|
<ol>
|
||
|
<li> From activity (specified by row)
|
||
|
<li> To activity (specified by row)
|
||
|
<li> Constrain type, (e.g CONSTRAIN_ENDSTART)
|
||
|
</ol>
|
||
|
<li> $progress. Specify a potential progress bar for each activity. Each entry is an array with the following content
|
||
|
<ol>
|
||
|
<li> Activity specification (by row)
|
||
|
<li> Progress as a fraction in the range [0,1]
|
||
|
</ol>
|
||
|
</ul>
|
||
|
|
||
|
<br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="GanttPlotObject.html#_GANTTPLOTOBJECT_SETCONSTRAIN">GanttPlotObject::SetConstrain()</a><li><a href="Progress.html#_PROGRESS_SET">Progress::Set()</a><li><a href="GanttGraph.html#_GANTTGRAPH_SETSIMPLEFONT">GanttGraph::SetSimpleFont()</a><li><a href="GanttGraph.html#_GANTTGRAPH_SETSIMPLESTYLE">GanttGraph::SetSimpleStyle()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$data </span><span style="color: #007700">= array(
<br /> array(</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">ACTYPE_GROUP</span><span style="color: #007700">, </span><span style="color: #DD0000">"Phase 1"</span><span style="color: #007700">, </span><span style="color: #DD0000">"2001-10-26"</span><span style="color: #007700">,</span><span style="color: #DD0000">"2001-11-23"</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">),
<br /> array(</span><span style="color: #0000BB">1</span><span style="color: #007700">,</span><span style="color: #0000BB">ACTYPE_NORMAL</span><span style="color: #007700">, </span><span style="color: #DD0000">" Label 2"</span><span style="color: #007700">, </span><span style="color: #DD0000">"2001-10-26"</span><span style="color: #007700">,</span><span style="color: #DD0000">"2001-11-16"</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">),
<br /> array(</span><span style="color: #0000BB">2</span><span style="color: #007700">,</span><span style="color: #0000BB">ACTYPE_NORMAL</span><span style="color: #007700">, </span><span style="color: #DD0000">" Label 3"</span><span style="color: #007700">, </span><span style="color: #DD0000">"2001-11-20"</span><span style="color: #007700">,</span><span style="color: #DD0000">"2001-11-22"</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">),
<br /> array(</span><span style="color: #0000BB">3</span><span style="color: #007700">,</span><span style="color: #0000BB">ACTYPE_MILESTONE</span><span style="color: #007700">,</span><span style="color: #DD0000">" Phase 1 Done"</span><span style="color: #007700">, </span><span style="color: #DD0000">"2001-11-23"</span><span style="color: #007700">,</span><span style="color: #DD0000">'M2'</span><span style="color: #007700">) );
<br />
<br /></span><span style="color: #FF8000">// The constrains between the activities
<br /></span><span style="color: #0000BB">$constrains </span><span style="color: #007700">= array(array(</span><span style="color: #0000BB">1</span><span style="color: #007700">,</span><span style="color: #0000BB">2</span><span style="color: #007700">,</span><span style="color: #0000BB">CONSTRAIN_ENDSTART</span><span style="color: #007700">),
<br /> array(</span><span style="color: #0000BB">2</span><span style="color: #007700">,</span><span style="color: #0000BB">3</span><span style="color: #007700">,</span><span style="color: #0000BB">CONSTRAIN_STARTSTART</span><span style="color: #007700">));
<br />
<br /></span><span style="color: #0000BB">$progress </span><span style="color: #007700">= array(array(</span><span style="color: #0000BB">1</span><span style="color: #007700">,</span><span style="color: #0000BB">0.4</span><span style="color: #007700">));
<br />
<br /></span><span style="color: #FF8000">// Create the basic graph
<br /></span><span style="color: #0000BB">$graph </span><span style="color: #007700">= new </span><span style="color: #0000BB">GanttGraph</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">title</span><span style="color: #007700">-></span><span style="color: #0000BB">Set</span><span style="color: #007700">(</span><span style="color: #DD0000">"Example with grouping and constrains"</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">// Setup scale
<br /></span><span style="color: #0000BB">$graph</span
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETDATERANGE"><span style="color:#555555;">GanttGraph ::</span><br><b>SetDateRange</b>($aStart, $aEnd)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Specify date range for Gantt chart.</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aStart</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Start date</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aEnd</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>End date</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify the date range for Gantt graphs. If this is not set it will be automtically determined from the input data.
|
||
|
<p>
|
||
|
All gantt chart objects, like bar activities, will be clipped to the spcified date range should they happen to be wider then the specified range.
|
||
|
<p>
|
||
|
The date is specified as a normal date string according to the chosen locale.
|
||
|
<br>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetDateRange</span><span style="color: #007700">(</span><span style="color: #DD0000">'2001-11-22'</span><span style="color: #007700">,</span><span style="color: #DD0000">'2002-1-24'</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETLABELVMARGINFACTOR"><span style="color:#555555;">GanttGraph ::</span><br><b>SetLabelVMarginFactor</b>($aVal)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Set margin vertical factor.</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aVal</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Margin factor</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify the fraction of the font height that should be added as vertical margin between the labels. <br>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$ganttgraph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetLabelVMarginFactor</span><span style="color: #007700">(</span><span style="color: #0000BB">0.7</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETSIMPLEFONT"><span style="color:#555555;">GanttGraph ::</span><br><b>SetSimpleFont</b>($aFont, $aSize)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Specify font for simplified Gantt graph</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aFont</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Font family</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aSize</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Font size</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify font for simplified Gantt graph constructed with CreateSimple <br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="GanttGraph.html#_GANTTGRAPH_CREATESIMPLE">GanttGraph::CreateSimple()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$ganttgraph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetSimpleFont</span><span style="color: #007700">(</span><span style="color: #0000BB">FF_FONT2</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETSIMPLESTYLE"><span style="color:#555555;">GanttGraph ::</span><br><b>SetSimpleStyle</b>($aBand, $aColor, $aBkgColor)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Specify style parameters for graphs constructed with CreateSimple</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aBand</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Patern style</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aColor</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Pattern color</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aBkgColor</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Pattern background color</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify looks for bars in Gantt graph when the gantt chart is created with CreateSimple.
|
||
|
<p>
|
||
|
The pattern style can be one of
|
||
|
|
||
|
<ol>
|
||
|
<li>GANTT_RDIAG, Right diagonal lines
|
||
|
<li>GANTT_LDIAG, Left diagonal lines
|
||
|
<li>GANTT_SOLID, Solid one color
|
||
|
<li>GANTT_LVERT, Vertical lines
|
||
|
<li>GANTT_LHOR, Horizontal lines
|
||
|
<li>GANTT_VLINE, Vertical lines
|
||
|
<li>GANTT_HLINE, Horizontal lines
|
||
|
<li>GANTT_3DPLANE, A 3D plane
|
||
|
<li>GANTT_HVCROSS, Crosses
|
||
|
<li>GANTT_DIAGCROSS, Diagonal crosses
|
||
|
</ol>
|
||
|
<br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="GanttGraph.html#_GANTTGRAPH_CREATESIMPLE">GanttGraph::CreateSimple()</a><li><a href="GanttBar.html#_GANTTBAR_SETPATTERN">GanttBar::SetPattern()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$ganttgraph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetSimpleStyle</span><span style="color: #007700">(</span><span style="color: #0000BB">GANTT_SOLID</span><span style="color: #007700">,</span><span style="color: #DD0000">'orange'</span><span style="color: #007700">,</span><span style="color: #DD0000">'orange'</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETVMARGINFACTOR"><span style="color:#555555;">GanttGraph ::</span><br><b>SetVMarginFactor</b>($aVal)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Specify the margin factor for lines in the gantt graph</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aVal</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Vertical margin factor</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify the margin factor for lines in the Gantt graph. A factor of 1 makes each line take just as much space as it needs. A factor of 1.5 makes it 1.5 linmes apart and a factor of 2 makes it double-line spacing and so on.
|
||
|
<p>
|
||
|
<b>Hint:</b> When using icon in titles it is usually a good idea to use a margin factor > 1
|
||
|
<br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="GanttGraph.html#_GANTTGRAPH_SETLABELVMARGINFACTOR">GanttGraph::SetLabelVMarginFactor()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetVMarginFactor</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SETZOOMFACTOR"><span style="color:#555555;">GanttGraph ::</span><br><b>SetZoomFactor</b>($aZoom)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>// Set user specified scale zoom factor when auto sizing is used</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aZoom</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>No description available</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_SHOWHEADERS"><span style="color:#555555;">GanttGraph ::</span><br><b>ShowHeaders</b>($aFlg)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Determine what headers/scales to display.</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aFlg</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'> </td><td>Logic OR of flags to specify what headers should be displayed.</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Specify what headers should be displayed on the Gantt charts. Possible headers are:
|
||
|
<ul>
|
||
|
<li>GANTT_HYEAR
|
||
|
<li>GANTT_HMONTH
|
||
|
<li>GANTT_HWEEK
|
||
|
<li>GANTT_HDAY
|
||
|
<li>GANTT_HHOUR
|
||
|
<li>GANTT_HMIN
|
||
|
</ul>
|
||
|
To specify multiple header you just bitwise OR the wanted number of headers together.
|
||
|
<br>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #FF8000">// Show all headers
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">ShowHeaders</span><span style="color: #007700">(</span><span style="color: #0000BB">GANTT_HYEAR </span><span style="color: #007700">| </span><span style="color: #0000BB">GANTT_HMONTH </span><span style="color: #007700">| </span><span style="color: #0000BB">GANTT_HDAY </span><span style="color: #007700">| </span><span style="color: #0000BB">GANTT_HWEEK</span><span style="color: #007700">);</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_STROKE"><span style="color:#555555;">GanttGraph ::</span><br><b>Stroke</b>($aStrokeFileName)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Internal. Stroke the gantt chart.</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aStrokeFileName</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #DD0000">""</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</td><td>Filename to stroke image to</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Internal. Stroke the gantt chart. If a filename is specified then the graph will be stroked to that file and will not be sent back to the browser.
|
||
|
<p>
|
||
|
This should as usual be the last method called in your script.
|
||
|
<br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="Graph.html#_GRAPH_STROKE">Graph::Stroke()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$ganttgraph</span><span style="color: #007700">-></span><span style="color: #0000BB">Stroke</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH_STROKETEXTS"><span style="color:#555555;">GanttGraph ::</span><br><b>StrokeTexts</b>()</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i></i></span><p>
|
||
|
<br>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>No description available.<p>
|
||
|
<p> <div style='font-family: helvetica, arial, geneva, sans-serif;margin-bottom:4px;border-left:solid black 1px;border-top:solid black 1px;border-bottom:solid black 2px;border-right:solid black 2px;font-size:120%;background:#dde9af;padding:4px;'><a class="no" name="_GANTTGRAPH___CONSTRUCT"><span style="color:#555555;">GanttGraph ::</span><br><b>__construct</b>($aWidth, $aHeight, $aCachedName, $aTimeOut, $aInline)</a></div>
|
||
|
|
||
|
<span style='font-family:arial;font-size:95%;'><i>Create a new GanttGraph</i></span><p>
|
||
|
|
||
|
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
||
|
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aWidth</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">0</span>
|
||
|
</span>
|
||
|
</td><td>Width of graph</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aHeight</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">0</span>
|
||
|
</span>
|
||
|
</td><td>Height of graph</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aCachedName</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #DD0000">""</span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</td><td>Filename to use if cache is enables</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aTimeOut</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">0</span>
|
||
|
</span>
|
||
|
</td><td>Timeout in minutes</td></tr>
|
||
|
|
||
|
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">$aInline</span>
|
||
|
</span>
|
||
|
|
||
|
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:100%;font-weight:bold;'><span style="color: #000000">
|
||
|
<span style="color: #0000BB">true</span>
|
||
|
</span>
|
||
|
</td><td>True=Stream back to browser</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">Description:</div>Construct a new GanttGraph. This differs slightly from the standard Graph or PlotGraph in that you are not required to specify width and height of the graph. Instead these can be left out and will be automatically be determined.
|
||
|
<p>
|
||
|
As a further refinement you can just specify width and have the height be automtically determined.
|
||
|
<br>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;">See also:</div><ul><li><a href="Graph.html#_GRAPH___CONSTRUCT">Graph::__construct()</a></ul>
|
||
|
<div style="font-weight:bold;font-family:arial;font-size:90%;"><p>Example:</div><div style="padding:5px;border:dashed gray 1px;background-color:#f3f3f3;font-family:courier new;font-size:90%;font-weight:bold;"><b><span style="color: #000000">
|
||
|
<span style="color: #0000BB"></span><span style="color: #FF8000">// Setup Gantt graph
<br /></span><span style="color: #0000BB">$graph </span><span style="color: #007700">= new </span><span style="color: #0000BB">GanttGraph</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetShadow</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetBox</span><span style="color: #007700">();
<br />
<br /></span><span style="color: #FF8000">// Only show part of the Gantt
<br /></span><span style="color: #0000BB">$graph</span><span style="color: #007700">-></span><span style="color: #0000BB">SetDateRange</span><span style="color: #007700">(</span><span style="color: #DD0000">'2001-11-22'</span><span style="color: #007700">,</span><span style="color: #DD0000">'2002-1-24'</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
|
||
|
</span>
|
||
|
</b></div><br>
|
||
|
<p> <hr> <p></html>
|