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="922Creating3Dpieplots.html">
8
<LINK REL="Next" HREF="924Specifyingandadjustinglabelsonpieplots.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="922Creating3Dpieplots.html">Previous</A>
26
<A HREF="924Specifyingandadjustinglabelsonpieplots.html">Next</A>
27
<HR NOSHADE>
28
<H3><A NAME="9_2_3">9.2.3 Exploding pie slices</A></H3>
29
<P> One way to attract attention to some specific piece of information
30
 in a pie chart is to &quot;explode&quot; one or more slices. Both 2D and 3D pies
31
 support exploding one or several slices.</P>
32
<P> Exploding slices is accomplished by the methods <A href="../ref/PiePlot.html#_PIEPLOT_EXPLODE">
33
 Explode()</A> and <A href="../ref/PiePlot.html#_PIEPLOT_EXPLODESLICE">
34
 ExplodeSlice()</A> The first method is used if you want to explode more
35
 than one slices and the second is a shorthand to make it easy to just
36
 explode one slice.</P>
37
<P> For example to explode one slice the default &quot;explode&quot; radius you
38
 would just have to say<DIV class="phpscript"><CODE><FONT color="#000000">
39
 <FONT color="#0000BB">&nbsp;$pieplot</FONT><FONT color="#007700">-&gt;</FONT><FONT
40
color="#0000BB">ExplodeSlice</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
41
1</FONT><FONT color="#007700">)</FONT><FONT color="#0000BB"></FONT></FONT>
42
</CODE></DIV></P>
43
<P> The above line would explode the second slice (slices are numbered
44
 from 0 and upwards) the default amount. Doing this to the two previous
45
 example would result in<DIV class="example">
46
<BR> <A href="exframes/frame_example27.2.html" target="blank"><IMG border="0"
47
HEIGHT="200"  src="img/example27.2.png" WIDTH="300"></A>
48
<BR><B>Figure 125:</B> Exploding one slice <A href="exframes/frame_example27.2.html"
49
target="blank">[src]</A>&nbsp;
50
<P></P>
51
</DIV></P>
52
<P></P>
53
<P><DIV class="example">
54
<BR> <A href="exframes/frame_example27.3.html" target="blank"><IMG border="0"
55
HEIGHT="200"  src="img/example27.3.png" WIDTH="330"></A>
56
<BR><B>Figure 126:</B> Exploding one 3D slice <A href="exframes/frame_example27.3.html"
57
target="blank">[src]</A>&nbsp;
58
<P></P>
59
</DIV></P>
60
<P></P>
61
<P> To explode all slices at once you can use the <A href="../ref/PiePlot.html#_PIEPLOT_EXPLODEALL">
62
 PiePlot::ExplodeAll()</A> method. If you want to explode several slices
63
 you can use the <A href="../ref/PiePlot.html#_PIEPLOT_EXPLODE">
64
 PiePlot::Explode()</A> method and supply a suitable array argument.</P>
65
<HR NOSHADE>
66
<A HREF="toc.html">Contents</A>
67
<A HREF="922Creating3Dpieplots.html">Previous</A>
68
<A HREF="924Specifyingandadjustinglabelsonpieplots.html">Next</A>
69
</BODY>
70
</HTML>