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="911Usingmultiplecolumnsastitles.html">
8
<LINK REL="Next" HREF="9112SpecifyingCSIMentriesforcolumntitles.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="911Usingmultiplecolumnsastitles.html">Previous</A>
26
<A HREF="9112SpecifyingCSIMentriesforcolumntitles.html">Next</A>
27
<HR NOSHADE>
28
<H3><A NAME="9_11_1">9.11.1 Adding a title for the columns</A></H3>
29
<P> Precisely as before you can also have a title spanning all the
30
 columns. This title is specified with the property<I> tableTitle</I> of
31
 the scale. Specifying a table title will automatically adjust the
32
 height of the column titles to fit the table title. The small code
33
 snippet below shows how to add a title.<DIV class="phpscript"><CODE><FONT
34
color="#000000"> <FONT color="#0000BB">&nbsp;$graph</FONT><FONT color="#007700">
35
-&gt;</FONT><FONT color="#0000BB">scale</FONT><FONT color="#007700">-&gt;</FONT><FONT
36
color="#0000BB">tableTitle</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
37
Set</FONT><FONT color="#007700">(</FONT><FONT color="#DD0000">'Phase&nbsp;1'</FONT><FONT
38
color="#007700">);
39
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-&gt;</FONT><FONT
40
color="#0000BB">scale</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
41
tableTitle</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
42
SetFont</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
43
FF_ARIAL</FONT><FONT color="#007700">,</FONT><FONT color="#0000BB">
44
FS_NORMAL</FONT><FONT color="#007700">,</FONT><FONT color="#0000BB">12</FONT><FONT
45
color="#007700">);
46
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-&gt;</FONT><FONT
47
color="#0000BB">scale</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
48
SetTableTitleBackground</FONT><FONT color="#007700">(</FONT><FONT color="#DD0000">
49
'darkgreen@0.6'</FONT><FONT color="#007700">);
50
<BR></FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">-&gt;</FONT><FONT
51
color="#0000BB">scale</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
52
tableTitle</FONT><FONT color="#007700">-&gt;</FONT><FONT color="#0000BB">
53
Show</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">true</FONT><FONT
54
color="#007700">);</FONT><FONT color="#0000BB"></FONT></FONT></CODE></DIV>
55
</P>
56
<P> A full example of this is shown below<DIV class="example">
57
<BR> <A href="exframes/frame_gantthourminex1.html" target="blank"><IMG border="0"
58
HEIGHT="215"       src="img/img/img/img/img/img/gantthourminex1.png" WIDTH="1200"></A>
59
<BR><B>Figure 165:</B> Adding a column titles stratching all title
60
 columns. <A href="exframes/frame_gantthourminex1.html" target="blank">
61
[src]</A>&nbsp;
62
<P></P>
63
</DIV></P>
64
<P></P>
65
<HR NOSHADE>
66
<A HREF="toc.html">Contents</A>
67
<A HREF="911Usingmultiplecolumnsastitles.html">Previous</A>
68
<A HREF="9112SpecifyingCSIMentriesforcolumntitles.html">Next</A>
69
</BODY>
70
</HTML>