Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
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_LINEPROPERTY"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>LineProperty</b></div>
9
<i>(Defined in: jpgraph.php : 2735)</i><table border=1><tr><td>&nbsp;<a href="LineProperty.html" style="font-family:arial;font-weight:bold;color:darkblue;">LineProperty</a>&nbsp;</td></tr><tr><td valign=top>&nbsp;<a href="LineProperty.html#_LINEPROPERTY_SETCOLOR">SetColor()</a>&nbsp;<br>
10
&nbsp;<a href="LineProperty.html#_LINEPROPERTY_SETSTYLE">SetStyle()</a>&nbsp;<br>
11
&nbsp;<a href="LineProperty.html#_LINEPROPERTY_SETWEIGHT">SetWeight()</a>&nbsp;<br>
12
&nbsp;<a href="LineProperty.html#_LINEPROPERTY_SHOW">Show()</a>&nbsp;<br>
13
</td></tr></table>&nbsp;<p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>Property class to define properties for a line. Currently used only by Gantt chart to specify the grid line properties. <p> &nbsp;
14
<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
15
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_LINEPROPERTY_SETCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
16
function&nbsp;SetColor($aColor)</font>
17
</b></div></a></span>
18
 
19
<span style='font-family:arial;font-size:90%;'><i>Set line color</i></span><p>
20
 
21
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
22
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
23
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
24
$aColor</font>
25
 
26
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Color</td></tr>
27
</table>
28
 
29
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set line color&nbsp;<br>
30
 
31
<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">
32
$gantgraph-&gt;grid-&gt;SetColor('darkgrey');</font>
33
</span><br>
34
<p>
35
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_LINEPROPERTY_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">
36
function&nbsp;SetStyle($aStyle)</font>
37
</b></div></a></span>
38
 
39
<span style='font-family:arial;font-size:90%;'><i>Set line style</i></span><p>
40
 
41
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
42
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
43
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
44
$aStyle</font>
45
 
46
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Line style</td></tr>
47
</table>
48
 
49
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Linestyle for lines. Valid linestyles are:<br>
50
'solid', 'dotted', 'dashed'
51
<p>
52
The default line style is 'solid'&nbsp;<br>
53
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="Image.html#_IMAGE_SETLINESTYLE">Image::SetLineStyle</a>
54
<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">
55
$gantgraph-&gt;grid-&gt;SetColor('darkgrey');</font>
56
</span><br>
57
<p>
58
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_LINEPROPERTY_SETWEIGHT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
59
function&nbsp;SetWeight($aWeight)</font>
60
</b></div></a></span>
61
 
62
<span style='font-family:arial;font-size:90%;'><i>Specify weight of the line</i></span><p>
63
 
64
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
65
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
66
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
67
$aWeight</font>
68
 
69
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Line width in pixels</td></tr>
70
</table>
71
 
72
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Set line width&nbsp;<br>
73
 
74
<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">
75
$gantgraph-&gt;grid-&gt;SetWeight(2);</font>
76
</span><br>
77
<p>
78
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_LINEPROPERTY_SHOW"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
79
function&nbsp;Show($aShow)</font>
80
</b></div></a></span>
81
 
82
<span style='font-family:arial;font-size:90%;'><i>Determine if the line should be hidden or not</i></span><p>
83
 
84
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
85
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
86
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
87
$aShow</font>
88
 
89
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
90
true</font>
91
</td><td>True=Display line</td></tr>
92
</table>
93
 
94
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Show line, default is to hide the line.&nbsp;<br>
95
 
96
<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">
97
$gantgraph-&gt;grid-&gt;Show(false);&nbsp;//&nbsp;Hide&nbsp;the&nbsp;grid</font>
98
</span><br>
99
<p> <hr> <p>