| 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_HORIZONTALGRIDLINE"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>HorizontalGridLine</b></div>
|
|
|
9 |
<i>(Defined in: jpgraph_gantt.php : 3061)</i><table border=1><tr><td> <a href="HorizontalGridLine.html" style="font-family:arial;font-weight:bold;color:darkblue;">HorizontalGridLine</a> </td></tr><tr><td valign=top> <a href="HorizontalGridLine.html#_HORIZONTALGRIDLINE_SETROWFILLCOLOR">SetRowFillColor()</a> <br>
|
|
|
10 |
<a href="HorizontalGridLine.html#_HORIZONTALGRIDLINE_SETSTART">SetStart()</a> <br>
|
|
|
11 |
<a href="HorizontalGridLine.html#_HORIZONTALGRIDLINE_SHOW">Show()</a> <br>
|
|
|
12 |
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Handles the alternating row colors in the Gantt chart <p>
|
|
|
13 |
<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
14 |
<p> <p> <span style='font-size:110%;'><a name="_HORIZONTALGRIDLINE_SETROWFILLCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
15 |
function SetRowFillColor($aColor1,$aColor2)</font>
|
|
|
16 |
</b></div></a></span>
|
|
|
17 |
|
|
|
18 |
<span style='font-family:arial;font-size:90%;'><i>Specify alternating row fill color</i></span><p>
|
|
|
19 |
|
|
|
20 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
21 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
22 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
23 |
$aColor1</font>
|
|
|
24 |
|
|
|
25 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Color 1</td></tr>
|
|
|
26 |
|
|
|
27 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
28 |
$aColor2</font>
|
|
|
29 |
|
|
|
30 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
31 |
''</font>
|
|
|
32 |
</td><td>Color 2</td></tr>
|
|
|
33 |
</table>
|
|
|
34 |
|
|
|
35 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify alternating row fill color for the Gantt chart.
|
|
|
36 |
|
|
|
37 |
See gantthgridex1.php for a full example. <br>
|
|
|
38 |
|
|
|
39 |
<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">
|
|
|
40 |
...
<br />$graph->hgrid->Show();
<br />$graph->hgrid->SetRowFillColor('darkblue@0.9');
<br /></font>
|
|
|
41 |
</span><br>
|
|
|
42 |
<p>
|
|
|
43 |
<p> <p> <span style='font-size:110%;'><a name="_HORIZONTALGRIDLINE_SETSTART"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
44 |
function SetStart($aStart)</font>
|
|
|
45 |
</b></div></a></span>
|
|
|
46 |
|
|
|
47 |
<span style='font-family:arial;font-size:90%;'><i>Specify start row for alternating colors</i></span><p>
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
51 |
|
|
|
52 |
$aStart</font>
|
|
|
53 |
|
|
|
54 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Start row</td></tr>
|
|
|
55 |
</table>
|
|
|
56 |
|
|
|
57 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify start row for alternating colors. By default it will start from row 0 (first row) <br>
|
|
|
58 |
<p>
|
|
|
59 |
|
|
|
60 |
function Show($aShow)</font>
|
|
|
61 |
</b></div></a></span>
|
|
|
62 |
|
|
|
63 |
<span style='font-family:arial;font-size:90%;'><i>Enable alternating row colors</i></span><p>
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
67 |
|
|
|
68 |
$aShow</font>
|
|
|
69 |
|
|
|
70 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
71 |
true</font>
|
|
|
72 |
|
|
|
73 |
</table>
|
|
|
74 |
|
|
|
75 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Enable alternating row colors <br>
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
$graph->hgrid->Show();</font>
|
|
|
79 |
|
|
|
80 |
<p> <hr> <p>
|