public class ChartSeries1DMeasure extends ChartSeriesMeasure
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType
DEFAULT_WINDOW_SIZE
Constructor and Description |
---|
ChartSeries1DMeasure(java.lang.String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(double v)
Add a new value to the series.
|
long |
getCount()
Get the count of values that have been added to this series.
|
double |
getMax()
Get the max of the series.
|
double |
getMean()
Get the mean of the series.
|
double |
getMin()
Get the min of the series.
|
double |
getVariance()
Get the variance of the series.
|
void |
setWindowSize(int size) |
createChart, getDefaultPlotParameters, getXYSeries, plot
outputPlot, outputPlot, plot
public ChartSeries1DMeasure(java.lang.String name)
name
- name of this measurepublic void setWindowSize(int size)
setWindowSize
in class ChartSeriesMeasure
public void addValue(double v)
v
- the new valuepublic long getCount()
public double getMean()
public double getMax()
public double getMin()
public double getVariance()