public class ChartMinMaxAverageSeriesMeasure extends ChartSeries2DMeasure
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotTypeDEFAULT_WINDOW_SIZE| Constructor and Description |
|---|
ChartMinMaxAverageSeriesMeasure(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double x,
double min,
double avg,
double max)
Add a new entry to series.
|
org.jfree.chart.JFreeChart |
createChart(ChartMeasure.PlotParameters params)
Create a new chart of this measure according to a set of parameters.
|
ChartMeasure.PlotParameters |
getDefaultPlotParameters()
Create a default set of parameters to plot this measure.
|
boolean |
isSeparateMinMaxAxis()
Flag used to define if min and max are plotted to a different axis than
average.
|
void |
setSeparateMinMaxAxis(boolean on)
Flag used to define if min and max are plotted to a different axis than
average.
|
void |
setWindowSize(int size) |
addValue, getCount, getXMax, getXMean, getXMin, getXVariance, getYMax, getYMean, getYMin, getYVariancegetXYSeries, plotoutputPlot, outputPlot, plotpublic ChartMinMaxAverageSeriesMeasure(String name)
public void setSeparateMinMaxAxis(boolean on)
on - true if a new axis should be created on the right/bottom for
min/max seriespublic boolean isSeparateMinMaxAxis()
public void setWindowSize(int size)
setWindowSize in class ChartSeries2DMeasurepublic void addValue(double x,
double min,
double avg,
double max)
x - min - avg - max - public org.jfree.chart.JFreeChart createChart(ChartMeasure.PlotParameters params) throws ChartMeasure.PlotException
ChartMeasurecreateChart in class ChartSeriesMeasureparams - the set of parameters used to create the chartChartMeasure.PlotExceptionpublic ChartMeasure.PlotParameters getDefaultPlotParameters()
ChartMeasuregetDefaultPlotParameters in class ChartSeriesMeasureCopyright © 2015. All rights reserved.