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_BOXPLOT"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>BoxPlot</b> EXTENDS <a href="StockPlot .html#_C_STOCKPLOT " style="font-face:arial;font-weight:bold;">StockPlot </a></div>
9
<i>(Defined in: jpgraph_stock.php : 158)</i><table border=1><tr><td>&nbsp;<a href="BoxPlot.html" style="font-family:arial;font-weight:bold;color:darkblue;">BoxPlot</a>&nbsp;</td><td>&nbsp;<a href="StockPlot .html" style="font-family:arial;font-weight:bold;color:darkblue;">StockPlot </a>&nbsp;</td></tr><tr><td valign=top>&nbsp;<a href="BoxPlot.html#_BOXPLOT_BOXPLOT">BoxPlot()</a>&nbsp;<br>
10
&nbsp;<a href="BoxPlot.html#_BOXPLOT_SETMEDIANCOLOR">SetMedianColor()</a>&nbsp;<br>
11
</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>Create a box plot. This is the same as a stock plot but with the added feature of a median line. For each X-value 5 Y values must be specified:
12
(open,close,min,max,median)
13
 <p> &nbsp;
14
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="StockPlot.html">StockPlot</a> <p> &nbsp;<hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
15
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_BOXPLOT_BOXPLOT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
16
function&nbsp;BoxPlot($datay,$datax)</font>
17
</b></div></a></span>
18
 
19
<span style='font-family:arial;font-size:90%;'><i>Create a new Box plot</i></span><p>
20
 
21
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
22
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
23
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
24
$datay</font>
25
 
26
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Y-tuples</td></tr>
27
 
28
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
29
$datax</font>
30
 
31
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
32
false</font>
33
</td><td>If specified, X-positions</td></tr>
34
</table>
35
 
36
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Create a new Box plot. Each data point in a box plotconsists of 5 values; (open,close,min,max,median)
37
 
38
&nbsp;<br>
39
 &nbsp; <div style="font-weight:bold;font-family:arial;font-size:85%;">See also</div><a href="StockPlot.html#_STOCKPLOT_STOCKPLOT">StockPlot::StockPlot</a>
40
<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">
41
$bplot&nbsp;=&nbsp;new&nbsp;BoxPlot($ydata);</font>
42
</span><br>
43
<p>
44
<p>&nbsp; <p> &nbsp; <span style='font-size:110%;'><a name="_BOXPLOT_SETMEDIANCOLOR"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
45
function&nbsp;SetMedianColor($aPos,$aNeg)</font>
46
</b></div></a></span>
47
 
48
<span style='font-family:arial;font-size:90%;'><i>Specify color for median line</i></span><p>
49
 
50
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
51
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
52
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
53
$aPos</font>
54
 
55
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Positive color</td></tr>
56
 
57
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
58
$aNeg</font>
59
 
60
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'>&nbsp;</td><td>Negative color</td></tr>
61
</table>
62
 
63
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify color for median line. &nbsp;<br>
64
 
65
<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">
66
$bplot-&gt;SetMedianColor('black','white');</font>
67
</span><br>
68
<p> <hr> <p>