public abstract class ChartSeriesMeasure extends ChartMeasure
ChartMeasure.PlotException, ChartMeasure.PlotOutputType, ChartMeasure.PlotParameters, ChartMeasure.PlotType
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WINDOW_SIZE |
Constructor and Description |
---|
ChartSeriesMeasure(String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
org.jfree.data.xy.XYSeries |
getXYSeries()
Create a
XYSeries object that can be used to
create plot. |
void |
plot(ChartMeasure.PlotParameters params)
Plot this measure using a set of parameters.
|
void |
setWindowSize(int size) |
outputPlot, outputPlot, plot
public static final int DEFAULT_WINDOW_SIZE
public ChartSeriesMeasure(String name)
name
- name of this measurepublic org.jfree.data.xy.XYSeries getXYSeries()
XYSeries
object that can be used to
create plot.public void setWindowSize(int size)
public void plot(ChartMeasure.PlotParameters params) throws ChartMeasure.PlotException
ChartMeasure
plot
in class ChartMeasure
params
- parameters that should be used to plot the measureChartMeasure.PlotException
public ChartMeasure.PlotParameters getDefaultPlotParameters()
ChartMeasure
getDefaultPlotParameters
in class ChartMeasure
public org.jfree.chart.JFreeChart createChart(ChartMeasure.PlotParameters params) throws ChartMeasure.PlotException
ChartMeasure
createChart
in class ChartMeasure
params
- the set of parameters used to create the chartChartMeasure.PlotException
Copyright © 2015. All rights reserved.