| 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_HEADERPROPERTY"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>HeaderProperty</b></div>
|
|
|
9 |
<i>(Defined in: jpgraph_gantt.php : 1730)</i><table border=1><tr><td> <a href="HeaderProperty.html" style="font-family:arial;font-weight:bold;color:darkblue;">HeaderProperty</a> </td></tr><tr><td valign=top> <a href="HeaderProperty.html#_HEADERPROPERTY_SETBACKGROUNDCOLOR">SetBackgroundColor()</a> <br>
|
|
|
10 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETFONT">SetFont()</a> <br>
|
|
|
11 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETFONTCOLOR">SetFontColor()</a> <br>
|
|
|
12 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETFORMATSTRING">SetFormatString()</a> <br>
|
|
|
13 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETFRAMECOLOR">SetFrameColor()</a> <br>
|
|
|
14 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETFRAMEWEIGHT">SetFrameWeight()</a> <br>
|
|
|
15 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETINTERVALL">SetIntervall()</a> <br>
|
|
|
16 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETLABELFORMATSTRING">SetLabelFormatString()</a> <br>
|
|
|
17 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETSTYLE">SetStyle()</a> <br>
|
|
|
18 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETSUNDAYFONTCOLOR">SetSundayFontColor()</a> <br>
|
|
|
19 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETTITLEVERTMARGIN">SetTitleVertMargin()</a> <br>
|
|
|
20 |
<a href="HeaderProperty.html#_HEADERPROPERTY_SETWEEKENDCOLOR">SetWeekendColor()</a> <br>
|
|
|
21 |
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Data encapsulating class to hold properties for each type of the scale headers of the Gantt chart.
|
|
|
22 |
|
|
|
23 |
It is instantiated in (and accessible through)
|
|
|
24 |
|
|
|
25 |
<code>
|
|
|
26 |
$ganttgraph->scale->min
|
|
|
27 |
$ganttgraph->scale->hour
|
|
|
28 |
$ganttgraph->scale->day
|
|
|
29 |
$ganttgraph->scale->week
|
|
|
30 |
$ganttgraph->scale->month
|
|
|
31 |
$ganttgraph->scale->year
|
|
|
32 |
</code>
|
|
|
33 |
|
|
|
34 |
You use the methods on these object to specify how you want the scale to be displayed. For example specifying if the week view will show start date or week number. <p>
|
|
|
35 |
<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
36 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETBACKGROUNDCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
37 |
function SetBackgroundColor($aColor)</font>
|
|
|
38 |
</b></div></a></span>
|
|
|
39 |
|
|
|
40 |
<span style='font-family:arial;font-size:90%;'><i>Specify background color in scale</i></span><p>
|
|
|
41 |
|
|
|
42 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
43 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
44 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
45 |
$aColor</font>
|
|
|
46 |
|
|
|
47 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Color</td></tr>
|
|
|
48 |
</table>
|
|
|
49 |
|
|
|
50 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify background color in scale <br>
|
|
|
51 |
|
|
|
52 |
<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">
|
|
|
53 |
$ganttgraph->scale->week->SetBackgroundColor('lightblue');</font>
|
|
|
54 |
</span><br>
|
|
|
55 |
<p>
|
|
|
56 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETFONT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
57 |
function SetFont($aFFamily,$aFStyle,$aFSize)</font>
|
|
|
58 |
</b></div></a></span>
|
|
|
59 |
|
|
|
60 |
<span style='font-family:arial;font-size:90%;'><i>Specify font for scale</i></span><p>
|
|
|
61 |
|
|
|
62 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
63 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
64 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
65 |
$aFFamily</font>
|
|
|
66 |
|
|
|
67 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Font family</td></tr>
|
|
|
68 |
|
|
|
69 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
70 |
$aFStyle</font>
|
|
|
71 |
|
|
|
72 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
73 |
FS_NORMAL</font>
|
|
|
74 |
</td><td>Font style</td></tr>
|
|
|
75 |
|
|
|
76 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
77 |
$aFSize</font>
|
|
|
78 |
|
|
|
79 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
80 |
10</font>
|
|
|
81 |
</td><td>Font size</td></tr>
|
|
|
82 |
</table>
|
|
|
83 |
|
|
|
84 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify font for scale <br>
|
|
|
85 |
|
|
|
86 |
<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">
|
|
|
87 |
$ganttgraph->scale->week->SetFont(FF_FONT0);</font>
|
|
|
88 |
</span><br>
|
|
|
89 |
<p>
|
|
|
90 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETFONTCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
91 |
function SetFontColor($aColor)</font>
|
|
|
92 |
</b></div></a></span>
|
|
|
93 |
|
|
|
94 |
<span style='font-family:arial;font-size:90%;'><i>Specify font (text) color</i></span><p>
|
|
|
95 |
|
|
|
96 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
97 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
98 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
99 |
$aColor</font>
|
|
|
100 |
|
|
|
101 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Color</td></tr>
|
|
|
102 |
</table>
|
|
|
103 |
|
|
|
104 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify font (text) color <br>
|
|
|
105 |
|
|
|
106 |
<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">
|
|
|
107 |
$ganttgraph->scale->week->SetFontColor('darkred');</font>
|
|
|
108 |
</span><br>
|
|
|
109 |
<p>
|
|
|
110 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETFORMATSTRING"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
111 |
function SetFormatString($aStr)</font>
|
|
|
112 |
</b></div></a></span>
|
|
|
113 |
|
|
|
114 |
<span style='font-family:arial;font-size:90%;'><i>Specify format string for scales</i></span><p>
|
|
|
115 |
|
|
|
116 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
117 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
118 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
119 |
$aStr</font>
|
|
|
120 |
|
|
|
121 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Format string</td></tr>
|
|
|
122 |
</table>
|
|
|
123 |
|
|
|
124 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify printf() style format string for scales <br>
|
|
|
125 |
<p>
|
|
|
126 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETFRAMECOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
127 |
function SetFrameColor($aColor)</font>
|
|
|
128 |
</b></div></a></span>
|
|
|
129 |
|
|
|
130 |
<span style='font-family:arial;font-size:90%;'><i>Set color of frame around scale</i></span><p>
|
|
|
131 |
|
|
|
132 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
133 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
134 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
135 |
$aColor</font>
|
|
|
136 |
|
|
|
137 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Color</td></tr>
|
|
|
138 |
</table>
|
|
|
139 |
|
|
|
140 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set color of frame around scale <br>
|
|
|
141 |
|
|
|
142 |
<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">
|
|
|
143 |
$ganttgraph->scale->year->SetFrameCOlor('darkblue');
<br /></font>
|
|
|
144 |
</span><br>
|
|
|
145 |
<p>
|
|
|
146 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETFRAMEWEIGHT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
147 |
function SetFrameWeight($aWeight)</font>
|
|
|
148 |
</b></div></a></span>
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
154 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
155 |
$aWeight</font>
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
</table>
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
$ganttgraph->scale->year->SetFrameWeight(2);</font>
|
|
|
164 |
</span><br>
|
|
|
165 |
<p>
|
|
|
166 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETINTERVALL"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
167 |
function SetIntervall($aInt)</font>
|
|
|
168 |
</b></div></a></span>
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
174 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
175 |
$aInt</font>
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
</table>
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
<p>
|
|
|
182 |
For example if the scale is an hour scale then SetIntervall() will give number of hours between each scale interball. <br>
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
// Setup minute format
<br />$graph->scale->minute->SetIntervall(30);
<br />$graph->scale->minute->SetBackgroundColor('lightyellow:1.5');
<br />$graph->scale->minute->SetFont(FF_FONT0);
<br />$graph->scale->minute->SetStyle(MINUTESTYLE_MM);
<br />$graph->scale->minute->grid->SetColor('lightgray');</font>
|
|
|
186 |
</span><br>
|
|
|
187 |
<p>
|
|
|
188 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETLABELFORMATSTRING"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
189 |
function SetLabelFormatString($aStr)</font>
|
|
|
190 |
</b></div></a></span>
|
|
|
191 |
|
|
|
192 |
<span style='font-family:arial;font-size:90%;'><i>Specify format string for use in scale</i></span><p>
|
|
|
193 |
|
|
|
194 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
195 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
196 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
</table>
|
|
|
201 |
|
|
|
202 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify format string for use in scale. <br>
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
$ganttgraph->scale->week->SetLabelFormatString('week %d');</font>
|
|
|
206 |
</span><br>
|
|
|
207 |
|
|
|
208 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETSTYLE"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
209 |
|
|
|
210 |
</b></div></a></span>
|
|
|
211 |
|
|
|
212 |
<span style='font-family:arial;font-size:90%;'><i>Specify style of scale.</i></span><p>
|
|
|
213 |
|
|
|
214 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
215 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
216 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
</table>
|
|
|
221 |
|
|
|
222 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specifies how the week, month, day, hour and minute scale should appear. For year scale this method has no meaning.
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
<ul>
|
|
|
226 |
<li>WEEKSTYLE_WNBR, Show the numeric week number
|
|
|
227 |
|
|
|
228 |
<li>WEEKSTYLE_FIRSTDAY2, Show the date for the first day in the week but with month as text, e.g. 24 May
|
|
|
229 |
|
|
|
230 |
<li>WEEKSTYLE_FIRSTDAY2WNBR, Same as Firstday2 above but also adds the week number, e.g. 24 May, w34
|
|
|
231 |
|
|
|
232 |
</ul>
|
|
|
233 |
|
|
|
234 |
For month scale:
|
|
|
235 |
<ul>
|
|
|
236 |
<li>MONTHSTYLE_SHORTNAME, Use short form of month name
|
|
|
237 |
|
|
|
238 |
<li>MONTHSTYLE_LONGNAMEYEAR2, Show long month nmame with a 2 digit year
|
|
|
239 |
|
|
|
240 |
<li>MONTHSTYLE_LONGNAMEYEAR4, Show long month nmame with a 4 digit year
|
|
|
241 |
<li>MONTHSTYLE_SHORTNAMEYEAR4, Show short month nmame with a 4 digit year
|
|
|
242 |
</ul>
|
|
|
243 |
|
|
|
244 |
For Day style
|
|
|
245 |
<ul>
|
|
|
246 |
<li> "DAYSTYLE_ONELETTER"
|
|
|
247 |
<li> "DAYSTYLE_LONG"
|
|
|
248 |
<li> "DAYSTYLE_LONGDAYDATE1"
|
|
|
249 |
|
|
|
250 |
<li> "DAYSTYLE_SHORT"
|
|
|
251 |
<li> "DAYSTYLE_SHORTDAYDATE1"
|
|
|
252 |
<li> "DAYSTYLE_SHORTDAYDATE2"
|
|
|
253 |
<li> "DAYSTYLE_SHORTDAYDATE3"
|
|
|
254 |
<li> "DAYSTYLE_SHORTDATE1"
|
|
|
255 |
<li> "DAYSTYLE_SHORTDATE2"
|
|
|
256 |
<li> "DAYSTYLE_SHORTDATE3"
|
|
|
257 |
<li> "DAYSTYLE_CUSTOM"
|
|
|
258 |
</ul>
|
|
|
259 |
|
|
|
260 |
For hour style
|
|
|
261 |
<ul>
|
|
|
262 |
<li> "HOURSTYLE_HM24"
|
|
|
263 |
<li> "HOURSTYLE_HMAMPM"
|
|
|
264 |
<li> "HOURSTYLE_H24"
|
|
|
265 |
|
|
|
266 |
<li> "HOURSTYLE_CUSTOM"
|
|
|
267 |
</ul>
|
|
|
268 |
|
|
|
269 |
Minute style
|
|
|
270 |
<ul>
|
|
|
271 |
<li>"MINUTESTYLE_MM"
|
|
|
272 |
<li>"MINUTESTYLE_CUSTOM"
|
|
|
273 |
</ul>
|
|
|
274 |
|
|
|
275 |
<br>
|
|
|
276 |
|
|
|
277 |
<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">
|
|
|
278 |
$graph->scale->month->SetStyle(MONTHSTYLE_SHORTNAMEYEAR4);</font>
|
|
|
279 |
</span><br>
|
|
|
280 |
|
|
|
281 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETSUNDAYFONTCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
282 |
|
|
|
283 |
</b></div></a></span>
|
|
|
284 |
|
|
|
285 |
<span style='font-family:arial;font-size:90%;'><i>Only used by day scale. Specify font color for sunday.</i></span><p>
|
|
|
286 |
|
|
|
287 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
288 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
289 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
</table>
|
|
|
294 |
|
|
|
295 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Only used by day scale. Specify font color for sunday. The default is toi display Sundays in red color as per convention. <br>
|
|
|
296 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="GanttScale.html#_GANTTSCALE_USEWEEKENDBACKGROUND">GanttScale::UseWeekendBackground</a>
|
|
|
297 |
|
|
|
298 |
$ganttgraph->SetSundayFontColor('red');</font>
|
|
|
299 |
</span><br>
|
|
|
300 |
|
|
|
301 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETTITLEVERTMARGIN"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
302 |
function SetTitleVertMargin($aMargin)</font>
|
|
|
303 |
</b></div></a></span>
|
|
|
304 |
|
|
|
305 |
<span style='font-family:arial;font-size:90%;'><i>Specify margin above and below text in scale</i></span><p>
|
|
|
306 |
|
|
|
307 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
308 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
309 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
</table>
|
|
|
314 |
|
|
|
315 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify margin above and below text in scale <br>
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
$ganttgraph->scale->year->SetTitleVertMargin(7);
<br /></font>
|
|
|
319 |
</span><br>
|
|
|
320 |
|
|
|
321 |
<p> <p> <span style='font-size:110%;'><a name="_HEADERPROPERTY_SETWEEKENDCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
322 |
|
|
|
323 |
</b></div></a></span>
|
|
|
324 |
|
|
|
325 |
<span style='font-family:arial;font-size:90%;'><i>Only valid if if used by day scale</i></span><p>
|
|
|
326 |
|
|
|
327 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
328 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
329 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
330 |
$aColor</font>
|
|
|
331 |
|
|
|
332 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Background color for the weekend</td></tr>
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify the background color for weekends.
|
|
|
336 |
<p>
|
|
|
337 |
Tip: If you want the weekend background color to continue down the gantt chart theh use the GanttScale::UseWeekendBackground() method.
|
|
|
338 |
|
|
|
339 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="HeaderProperty.html#_HEADERPROPERTY_SETSUNDAYFONTCOLOR">HeaderProperty::SetSundayFontColor</a> and <a href="GanttScale.html#_GANTTSCALE_USEWEEKENDBACKGROUND">GanttScale::UseWeekendBackground</a>
|
|
|
340 |
<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">
|
|
|
341 |
|
|
|
342 |
</span><br>
|
|
|
343 |
<p> <hr> <p>
|