java.lang.Object | ||||
↳ | org.jfree.data.general.AbstractDataset | |||
↳ | org.jfree.data.general.AbstractSeriesDataset | |||
↳ | org.jfree.data.xy.AbstractXYDataset | |||
↳ | org.jfree.data.statistics.DefaultBoxAndWhiskerXYDataset |
A simple implementation of the BoxAndWhiskerXYDataset
interface.
This dataset implementation can hold only one series.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new box and whisker dataset.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an item to the dataset and sends a
DatasetChangeEvent to
all registered listeners. | |||||||||||
Returns a clone of the plot.
| |||||||||||
Tests this dataset for equality with an arbitrary object.
| |||||||||||
Returns the value used as the farout coefficient.
| |||||||||||
Return an item from within the dataset.
| |||||||||||
Returns the number of items in the specified series.
| |||||||||||
Returns the maximum value which is not a farout, ie Q3 + (interquartile
range * farout coefficient).
| |||||||||||
Returns the max-value for the specified series and item.
| |||||||||||
Returns the mean for the specified series and item.
| |||||||||||
Returns the median-value for the specified series and item.
| |||||||||||
Returns the minimum value which is not a farout.
| |||||||||||
Returns the min-value for the specified series and item.
| |||||||||||
Returns the value used as the outlier coefficient.
| |||||||||||
Returns an array of outliers for the specified series and item.
| |||||||||||
Returns the Q1 median-value for the specified series and item.
| |||||||||||
Returns the Q3 median-value for the specified series and item.
| |||||||||||
Returns the range of the values in this dataset's range.
| |||||||||||
Returns the minimum y-value in the dataset.
| |||||||||||
Returns the maximum y-value in the dataset.
| |||||||||||
Returns the number of series in the dataset.
| |||||||||||
Returns the name of the series stored in this dataset.
| |||||||||||
Returns the x-value for one item in a series.
| |||||||||||
Returns the x-value for one item in a series, as a Date.
| |||||||||||
Returns the y-value for one item in a series.
| |||||||||||
Sets the value used as the farouts coefficient.
| |||||||||||
Sets the value used as the outlier coefficient
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new box and whisker dataset.
The current implementation allows only one series in the dataset. This may be extended in a future version.
seriesKey | the key for the series. |
---|
Adds an item to the dataset and sends a DatasetChangeEvent
to
all registered listeners.
date | the date (null not permitted). |
---|---|
item | the item (null not permitted).
|
Returns a clone of the plot.
CloneNotSupportedException | if the cloning is not supported. |
---|
Tests this dataset for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the value used as the farout coefficient. The farout coefficient allows the calculation of which values will be off the graph.
double
representing the value used to calculate
farouts.Return an item from within the dataset.
series | the series index (ignored, since this dataset contains only one series). |
---|---|
item | the item within the series (zero-based index) |
Returns the number of items in the specified series.
series | the index (zero-based) of the series. |
---|
Returns the maximum value which is not a farout, ie Q3 + (interquartile range * farout coefficient).
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Number
representing the maximum non-farout value.
Returns the max-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the mean for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the median-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the minimum value which is not a farout.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Number
representing the maximum non-farout value.
Returns the min-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the value used as the outlier coefficient. The outlier coefficient gives an indication of the degree of certainty in an unskewed distribution. Increasing the coefficient increases the number of values included. Currently only used to ensure farout coefficient is greater than the outlier coefficient
double
representing the value used to calculate
outliers.Returns an array of outliers for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the Q1 median-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the Q3 median-value for the specified series and item.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the range of the values in this dataset's range.
includeInterval | a flag that determines whether or not the y-interval is taken into account. |
---|
Returns the minimum y-value in the dataset.
includeInterval | a flag that determines whether or not the y-interval is taken into account. |
---|
Returns the maximum y-value in the dataset.
includeInterval | a flag that determines whether or not the y-interval is taken into account. |
---|
Returns the number of series in the dataset.
This implementation only allows one series.
Returns the name of the series stored in this dataset.
i | the index of the series. Currently ignored. |
---|
Returns the x-value for one item in a series.
The value returned is a Long object generated from the underlying Date object.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the x-value for one item in a series, as a Date.
This method is provided for convenience only.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Returns the y-value for one item in a series.
This method (from the XYDataset interface) is mapped to the getMeanValue() method.
series | the series (zero-based index). |
---|---|
item | the item (zero-based index). |
Sets the value used as the farouts coefficient. The farout coefficient must b greater than the outlier coefficient.
faroutCoefficient | being a double representing the
value used to calculate farouts. |
---|
Sets the value used as the outlier coefficient
outlierCoefficient | being a double representing the
value used to calculate outliers. |
---|