Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<style type="text/css">
2
		<!--
3
		A:link        {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
4
		A:visited     {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
5
		A:hover       {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
6
		th            {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
7
		//-->
8
		</style><hr><a name="_C_GROUPBARPLOT"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>GroupBarPlot</b> EXTENDS <a href="BarPlot .html#_C_BARPLOT " style="font-face:arial;font-weight:bold;">BarPlot </a></div>
9
<i>(Defined in: jpgraph_bar.php : 552)</i><table border=1><tr><td>&nbsp;<a href="GroupBarPlot.html" style="font-family:arial;font-weight:bold;color:darkblue;">GroupBarPlot</a>&nbsp;</td><td>&nbsp;<a href="BarPlot .html" style="font-family:arial;font-weight:bold;color:darkblue;">BarPlot </a>&nbsp;</td></tr><tr><td valign=top>&nbsp;<a href="GroupBarPlot.html#_GROUPBARPLOT_GROUPBARPLOT">GroupBarPlot()</a>&nbsp;<br>
10
</td><td valign=top>&nbsp;</td></tr></table>&nbsp;<p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>A group bar plot has several bars side by side for each X-label. The group bar is constructed from any number of ordinary bar graphs.
11
 
12
For example:
13
<code>
14
$b1 = new BarPlot(...);
15
$b2 = new BarPlot(...);
16
 
17
$gb = new GroupBarPlot(array($b1,$b2));
18
...
19
$graph->Add($gb);
20
...
21
</code>
22
 
23
Each individual bar can be either a BarPlor or an AccBarPlot.
24
 <p> &nbsp;
25
<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
26
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_GROUPBARPLOT_GROUPBARPLOT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
27
function&nbsp;GroupBarPlot($plots)</font>
28
</b></div></a></span>
29
 
30
<span style='font-family:arial;font-size:90%;'><i>Create a new Group bar plot</i></span><p>
31
 
32
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
33
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
34
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
35
$plots</font>
36
 
37
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Array of individual plots</td></tr>
38
</table>
39
 
40
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Create a new Group bar plot from a number of BarPlot or AccBarPlot plots.&nbsp;<br>
41
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="AccBarPlot.html#_ACCBARPLOT_ACCBARPLOT">AccBarPlot::AccBarPlot</a> and <a href="BarPlot.html#_BARPLOT_BARPLOT">BarPlot::BarPlot</a>
42
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
43
$b1&nbsp;=&nbsp;new&nbsp;BarPlot(...);
<br />$b2&nbsp;=&nbsp;new&nbsp;BarPlot(...);
<br />
<br />$gb&nbsp;=&nbsp;new&nbsp;GroupBarPlot(array($b1,$b2));
<br />...
<br />$graph-&gt;Add($gb);</font>
44
</span><br>
45
<p> <hr> <p>