| 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="10122Modifyingthedividerlines.html">
|
|
|
8 |
<LINK REL="Next" HREF="10124Horizontalgridsandalternatinglinecolors.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="10122Modifyingthedividerlines.html">Previous</A>
|
|
|
26 |
<A HREF="10124Horizontalgridsandalternatinglinecolors.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="10_12_3">10.12.3 Modifying the box around the plot</A></H3>
|
|
|
29 |
<P> In a similar manner to the other plots in JpGraph you modify the Box
|
|
|
30 |
round the plot with the standard graph method 'SetBox()' as in<DIV class="phpscript">
|
|
|
31 |
<CODE><FONT color="#000000"> <FONT color="#0000BB"> $graph</FONT><FONT color="#007700">
|
|
|
32 |
-></FONT><FONT color="#0000BB">SetBox</FONT><FONT color="#007700">(</FONT><FONT
|
|
|
33 |
color="#0000BB">true</FONT><FONT color="#007700">,</FONT><FONT color="#DD0000">
|
|
|
34 |
"navy"</FONT><FONT color="#007700">,</FONT><FONT color="#0000BB">3</FONT><FONT
|
|
|
35 |
color="#007700">)</FONT><FONT color="#0000BB"></FONT></FONT></CODE></DIV>
|
|
|
36 |
</P>
|
|
|
37 |
<P> which will result in a thicker plot box around the area as shown
|
|
|
38 |
below<DIV class="example">
|
|
|
39 |
<BR> <A href="exframes/frame_ganttex18.html" target="blank"><IMG border="0"
|
|
|
40 |
HEIGHT="191" src="img/ganttex18.png" WIDTH="433"></A>
|
|
|
41 |
<BR><B>Figure 164:</B> Modifying the box around the plotarea <A href="exframes/frame_ganttex18.html"
|
|
|
42 |
target="blank">[src]</A>
|
|
|
43 |
<P></P>
|
|
|
44 |
</DIV></P>
|
|
|
45 |
<P><DIV class="note"><B>Note:</B> You might notice the slight
|
|
|
46 |
discrepancy in design that here you use a method and in the previous
|
|
|
47 |
cases accessed a property which you modified. This is the unfortunate
|
|
|
48 |
affect of the evolving design and development of this library once it
|
|
|
49 |
was realised that the original design could be improved upon.</DIV></P>
|
|
|
50 |
<HR NOSHADE>
|
|
|
51 |
<A HREF="toc.html">Contents</A>
|
|
|
52 |
<A HREF="10122Modifyingthedividerlines.html">Previous</A>
|
|
|
53 |
<A HREF="10124Horizontalgridsandalternatinglinecolors.html">Next</A>
|
|
|
54 |
</BODY>
|
|
|
55 |
</HTML>
|