|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.graph2.Series
org.faceless.graph2.GeneralBarSeries
org.faceless.graph2.BoxWhiskerSeries
public class BoxWhiskerSeries
A BoxWhisker Series is used for plotting statistical data. It can show the mean, quartiles and extremes of a data series.
| Constructor Summary | |
|---|---|
BoxWhiskerSeries(String name)
Create a new BoxWhiskerSeries |
|
| Method Summary | |
|---|---|
void |
set(String x,
double min,
double bottom,
double middle,
double top,
double max)
Add a box to the series. |
void |
set(String x,
double min,
double bottom,
double lower,
double middle,
double upper,
double top,
double max)
Add a box to the series. |
void |
setSerifWidth(double width)
Set the width of the "serif" at the end of the lines. |
void |
setShoulderWidth(double width)
Set the width of the "shoulder" of the box - the width of the box at the outer corner. |
void |
setWaistWidth(double width)
Set the width of the "waist" of the box - the width of the box at the middle. |
void |
setWhiskerWidth(double width)
Set the width of the "whisker" of the box. |
| Methods inherited from class org.faceless.graph2.GeneralBarSeries |
|---|
addMarker, setBarDepth, setBarLabels, setBarWidth, setBarWidth, setBarWidth, setRoundBars, setRoundBars, setStyle |
| Methods inherited from class org.faceless.graph2.Series |
|---|
addBox, addLine, addMarker, getName, outputToSeries, outputToSeriesFunction, setStyle, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BoxWhiskerSeries(String name)
name - the name of the series| Method Detail |
|---|
public void set(String x,
double min,
double bottom,
double middle,
double top,
double max)
x - the X value of this boxmin - the minimum value of the range of values for this box. Must be <= lowerbottom - the lower quartile of the range of values for this box. Must be <= meanmiddle - the mean value of the range of values for this box. Must be <= uppertop - the upper quartile of of the range of values for this box. Must be <= maxmax - the maximum value of the range of values for this box.
IllegalArgumentException - if the parameters aren't in ascending order.
public void set(String x,
double min,
double bottom,
double lower,
double middle,
double upper,
double top,
double max)
x - the X value of this boxmin - the minimum value of the range of values for this box. Must be <= bottombottom - the outermost lower percentile of the range of values for this box. Must be <= lowerlower - the lower percentile of the range of values for this box. Must be <= meanmiddle - the middle value of the range of values for this box. Must be <= upperupper - the upper percentile of of the range of values for this box. Must be <= toptop - the outermost upper percentile of of the range of values for this box. Must be <= maxmax - the maximum value of the range of values for this box.
IllegalArgumentException - if the parameters aren't in ascending order.public void setWaistWidth(double width)
width - the width of the waist of each box - must be 0 <= val <=1public void setShoulderWidth(double width)
width - the width of the shoulder of each box - must be 0 <= val <=1public void setWhiskerWidth(double width)
width - the width of the shoulder of each box - must be 0 <= val <=1public void setSerifWidth(double width)
width - the width of the serif of each whisker - must be 0 <= val <=1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||