| 1 |
lars |
1 |
<style type="text/css">
|
|
|
2 |
<!--
|
|
|
3 |
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
4 |
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
5 |
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
|
|
|
6 |
th {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
|
|
7 |
//-->
|
|
|
8 |
</style><hr><a name="_C_MILESTONE"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>MileStone</b> EXTENDS <a href="GanttPlotObject .html#_C_GANTTPLOTOBJECT " style="font-face:arial;font-weight:bold;">GanttPlotObject </a></div>
|
|
|
9 |
<i>(Defined in: jpgraph_gantt.php : 3376)</i><table border=1><tr><td> <a href="MileStone.html" style="font-family:arial;font-weight:bold;color:darkblue;">MileStone</a> </td><td> <a href="GanttPlotObject .html" style="font-family:arial;font-weight:bold;color:darkblue;">GanttPlotObject </a> </td></tr><tr><td valign=top> <a href="MileStone.html#_MILESTONE_MILESTONE">MileStone()</a> <br>
|
|
|
10 |
</td><td valign=top> </td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Represents a milestone in the GanttChart. A milstone is created by specifyin a date. <p>
|
|
|
11 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="GanttGraph.html">GanttGraph</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
12 |
<p> <p> <span style='font-size:110%;'><a name="_MILESTONE_MILESTONE"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
13 |
function MileStone($aVPos,$aLabel,$aDate,$aCaption)</font>
|
|
|
14 |
</b></div></a></span>
|
|
|
15 |
|
|
|
16 |
<span style='font-family:arial;font-size:90%;'><i>Create a new milestone in a GanttGraph </i></span><p>
|
|
|
17 |
|
|
|
18 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
19 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
20 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
21 |
$aVPos</font>
|
|
|
22 |
|
|
|
23 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Row for milestone</td></tr>
|
|
|
24 |
|
|
|
25 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
26 |
$aLabel</font>
|
|
|
27 |
|
|
|
28 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Label</td></tr>
|
|
|
29 |
|
|
|
30 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
31 |
$aDate</font>
|
|
|
32 |
|
|
|
33 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Position on the date scale</td></tr>
|
|
|
34 |
|
|
|
35 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
36 |
$aCaption</font>
|
|
|
37 |
|
|
|
38 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
39 |
""</font>
|
|
|
40 |
</td><td>Caption string</td></tr>
|
|
|
41 |
</table>
|
|
|
42 |
|
|
|
43 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>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.
|
|
|
44 |
<br>
|
|
|
45 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="GanttPlotObject.html#_GANTTPLOTOBJECT_GANTTPLOTOBJECT">GanttPlotObject::GanttPlotObject</a>
|
|
|
46 |
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
|
|
|
47 |
$graph = new GanttGraph();
<br />
<br />// Setup the gantt graph...
<br />...
<br />
<br />$ms = new MileStone(7,"M5","2002-01-28","28/1");
<br />$graph->Add($ms);</font>
|
|
|
48 |
</span><br>
|
|
|
49 |
<p> <hr> <p>
|