public class ChartSeries2DMeasure extends ChartSeriesMeasure
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType
Modifier and Type | Field and Description |
---|---|
protected DescriptiveStatistics |
xData
Data containing x values.
|
protected DescriptiveStatistics |
yData
Data containing y values.
|
DEFAULT_WINDOW_SIZE, series
name
Constructor and Description |
---|
ChartSeries2DMeasure(String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(double x,
double y)
Add a new point to the series.
|
long |
getCount()
Get the count of points added to this series.
|
double |
getXMax()
Get the max of x values.
|
double |
getXMean()
Get the mean of x values.
|
double |
getXMin()
Get the min of x values.
|
double |
getXVariance()
Get the variance of x values.
|
double |
getYMax()
Get the max of y values.
|
double |
getYMean()
Get the mean of y values.
|
double |
getYMin()
Get the min of y values.
|
double |
getYVariance()
Get the variance of y values.
|
void |
setWindowSize(int size) |
createChart, getDefaultPlotParameters, getXYSeries, plot
outputPlot, outputPlot, plot
protected DescriptiveStatistics xData
protected DescriptiveStatistics yData
public ChartSeries2DMeasure(String name)
name
- names of the measurepublic void setWindowSize(int size)
setWindowSize
in class ChartSeriesMeasure
public void addValue(double x, double y)
x
- x value of the new pointy
- y value osf the new pointpublic long getCount()
public double getXMean()
public double getXMax()
public double getXMin()
public double getXVariance()
public double getYMean()
public double getYMax()
public double getYMin()
public double getYVariance()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses