Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
<HTML>
3
<HEAD>
4
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
5
<LINK REL="Start" HREF="index.html">
6
<LINK REL="Contents" HREF="toc.html">
7
<LINK REL="Prev" HREF="97Ganttbars.html">
8
<LINK REL="Next" HREF="972Specifyingstartandendpositionforabar.html">
9
<STYLE TYPE="text/css"><!--
10
BODY { font-family: serif }
11
H1 { font-family: sans-serif }
12
H2 { font-family: sans-serif }
13
H3 { font-family: sans-serif }
14
H4 { font-family: sans-serif }
15
H5 { font-family: sans-serif }
16
H6 { font-family: sans-serif }
17
SUB { font-size: smaller }
18
SUP { font-size: smaller }
19
PRE { font-family: monospace }
20
A { text-decoration: none }
21
--></STYLE>
22
</HEAD>
23
<BODY>
24
<A HREF="toc.html">Contents</A>
25
<A HREF="97Ganttbars.html">Previous</A>
26
<A HREF="972Specifyingstartandendpositionforabar.html">Next</A>
27
<HR NOSHADE>
28
<H3><A NAME="9_7_1">9.7.1 Specifying vertical position</A></H3>
29
<P> As described above vertical positions are specified as a numeric
30
 value [0..n] where 'n' is an arbitrary constant. (For practical
31
 purposes n is most likely &lt; 100)</P>
32
<P> Using our previous example we will illustrate this parameter by
33
 changing the position of our 'Project' activity to position 7. Therefor
34
 we change the call to GanttBar() to<DIV class="phpscript"><CODE><FONT color="#000000">
35
 <FONT color="#0000BB">&nbsp;$activity&nbsp;</FONT><FONT color="#007700">=&nbsp;new&nbsp;</FONT><FONT
36
color="#0000BB">GanttBar</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
37
7</FONT><FONT color="#007700">,</FONT><FONT color="#DD0000">&quot;Project&quot;</FONT><FONT
38
color="#007700">,</FONT><FONT color="#DD0000">&quot;2001-12-21&quot;</FONT><FONT color="#007700">
39
,</FONT><FONT color="#DD0000">&quot;2002-02-20&quot;</FONT><FONT color="#007700">
40
);</FONT><FONT color="#0000BB"></FONT></FONT></CODE></DIV></P>
41
<P> and we then get the chart as shown below in Figure 150.</P>
42
<P><DIV class="example">
43
<BR> <A href="exframes/frame_ganttex03.html" target="blank"><IMG border="0"
44
HEIGHT="280"       src="img/img/img/img/img/img/ganttex03.png" WIDTH="486"></A>
45
<BR><B>Figure 150:</B> Changing the vertical position to 7 <A href="exframes/frame_ganttex03.html"
46
target="blank">[src]</A>&nbsp;
47
<P></P>
48
</DIV></P>
49
<P> Note that the height of each position (vertical position) will
50
 depend on the actual height of the bar.</P>
51
<HR NOSHADE>
52
<A HREF="toc.html">Contents</A>
53
<A HREF="97Ganttbars.html">Previous</A>
54
<A HREF="972Specifyingstartandendpositionforabar.html">Next</A>
55
</BODY>
56
</HTML>