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_ACCBARPLOT"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>AccBarPlot</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 : 642)</i><table border=1><tr><td>&nbsp;<a href="AccBarPlot.html" style="font-family:arial;font-weight:bold;color:darkblue;">AccBarPlot</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="AccBarPlot.html#_ACCBARPLOT_ACCBARPLOT">AccBarPlot()</a>&nbsp;<br>
10
&nbsp;<a href="AccBarPlot.html#_ACCBARPLOT_MAX">Max()</a>&nbsp;<br>
11
&nbsp;<a href="AccBarPlot.html#_ACCBARPLOT_MIN">Min()</a>&nbsp;<br>
12
</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>Accumulated bar plot. <br>
13
Used to create bars where the data series are stacked on top of each other.
14
<p>
15
Features:
16
<ol>
17
<li>Can be combined with Image maps for each series.
18
<li>Values for each series can be displayed when the pointer is hovering over the corresponding part of the bar
19
<li>Unlimited number of series
20
</ol>
21
<p>
22
Examples:
23
<ul>
24
<li> [TBC]
25
</ul> <p> &nbsp;
26
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="BarPlot.html">BarPlot</a>, <a href="GroupBarPlot.html">GroupBarPlot</a> and <a href="AccLinePlot.html">AccLinePlot</a> <p> &nbsp;<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
27
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_ACCBARPLOT_ACCBARPLOT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
28
function&nbsp;AccBarPlot($plots)</font>
29
</b></div></a></span>
30
 
31
<span style='font-family:arial;font-size:90%;'><i>Construct a new accumulated bar graph</i></span><p>
32
 
33
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
34
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
35
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
36
$plots</font>
37
 
38
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Array of bar plots</td></tr>
39
</table>
40
 
41
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Create a new accumulated bar plot based on the given array of ordinary bar plots.&nbsp;<br>
42
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="BarPlot.html#_BARPLOT_BARPLOT">BarPlot::BarPlot</a>
43
<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">
44
$b1&nbsp;=&nbsp;new&nbsp;BarPlot($y1data);
<br />$b2&nbsp;=&nbsp;new&nbsp;BarPlot($y2data);
<br />$accbar&nbsp;=&nbsp;new&nbsp;AccBarPlot(array($b1,$b2));
<br />
<br /></font>
45
</span><br>
46
<p>
47
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_ACCBARPLOT_MAX"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
48
function&nbsp;Max()</font>
49
</b></div></a></span>
50
51
<span style='font-family:arial;font-size:90%;'><i>Return the maximum value of the bars</i></span><p>
52
<br>
53
54
 
55
56
<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">
57
 
58
</span><br>
59
 
60
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_ACCBARPLOT_MIN"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
61
function&nbsp;Min()</font>
62
</b></div></a></span>
63
64
<span style='font-family:arial;font-size:90%;'><i>Return minimum data values for the bars</i></span><p>
65
<br>
66
67
 
68
69
<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">
70
 
71
</span><br>
72