(Defined in: jpgraph_stock.php : 173)
Class usage and Overview
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:
(open,close,min,max,median)
See also related classes:
StockPlot
Class Methods
Specify color for median line
Argument | Default | Description |
$aPos
| | Positive color |
$aNeg
| | Negative color |
Description:
Specify color for median line.
$bplot->SetMedianColor('black','white');
Create a new Box plot
Argument | Default | Description |
$datay
| | Y-tuples |
$datax
|
false
| If specified, X-positions |
Description:
Create a new Box plot. Each data point in a box plotconsists of 5 values; (open,close,min,max,median)
See also:
$bplot = new BoxPlot($ydata);