public class ChartSeries2DMeasure extends ChartSeriesMeasure
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType
DEFAULT_WINDOW_SIZE
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
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()
Copyright © 2015. All rights reserved.