| 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="9121Addingatabletitle.html">
|
|
|
8 |
<LINK REL="Next" HREF="9123Modifyingtheboxaroundtheplot.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="9121Addingatabletitle.html">Previous</A>
|
|
|
26 |
<A HREF="9123Modifyingtheboxaroundtheplot.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="9_12_2">9.12.2 Modifying the divider lines</A></H3>
|
|
|
29 |
<P> The vertical and horizontal lines between the titles and the bars
|
|
|
30 |
can be modified by accessing the 'divider' and 'dividerh' properties of
|
|
|
31 |
the scale. Again, this is straightforward as the following example
|
|
|
32 |
shows:<DIV class="phpscript"><CODE><FONT color="#000000"> <FONT color="#0000BB">
|
|
|
33 |
$graph</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">scale</FONT><FONT
|
|
|
34 |
color="#007700">-></FONT><FONT color="#0000BB">divider</FONT><FONT color="#007700">
|
|
|
35 |
-></FONT><FONT color="#0000BB">SetWeight</FONT><FONT color="#007700">(</FONT><FONT
|
|
|
36 |
color="#0000BB">3</FONT><FONT color="#007700">);
|
|
|
37 |
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
38 |
color="#0000BB">scale</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
39 |
divider</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
40 |
SetColor</FONT><FONT color="#007700">(</FONT><FONT color="#DD0000">
|
|
|
41 |
"navy"</FONT><FONT color="#007700">);
|
|
|
42 |
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
43 |
color="#0000BB">scale</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
44 |
dividerh</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
45 |
SetWeight</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">3</FONT><FONT
|
|
|
46 |
color="#007700">);
|
|
|
47 |
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
48 |
color="#0000BB">scale</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
49 |
dividerh</FONT><FONT color="#007700">-></FONT><FONT color="#0000BB">
|
|
|
50 |
SetColor</FONT><FONT color="#007700">(</FONT><FONT color="#DD0000">
|
|
|
51 |
"navy"</FONT><FONT color="#007700">);</FONT><FONT color="#0000BB"></FONT>
|
|
|
52 |
</FONT></CODE></DIV></P>
|
|
|
53 |
<P> The effect of this is shown in Figure 167 below<DIV class="example">
|
|
|
54 |
<BR> <A href="exframes/frame_ganttex17.html" target="blank"><IMG border="0"
|
|
|
55 |
HEIGHT="191" src="img/img/img/img/img/img/ganttex17.png" WIDTH="433"></A>
|
|
|
56 |
<BR><B>Figure 167:</B> Modifying the dividing line <A href="exframes/frame_ganttex17.html"
|
|
|
57 |
target="blank">[src]</A>
|
|
|
58 |
<P></P>
|
|
|
59 |
</DIV></P>
|
|
|
60 |
<P></P>
|
|
|
61 |
<HR NOSHADE>
|
|
|
62 |
<A HREF="toc.html">Contents</A>
|
|
|
63 |
<A HREF="9121Addingatabletitle.html">Previous</A>
|
|
|
64 |
<A HREF="9123Modifyingtheboxaroundtheplot.html">Next</A>
|
|
|
65 |
</BODY>
|
|
|
66 |
</HTML>
|