| Constructor and Description |
|---|
PlotFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.jfree.chart.JFreeChart |
createDefaultPlot(List<PlotModel> plotModels)
|
static org.jfree.chart.JFreeChart |
createDefaultPlot(PlotModel plotModel)
This method creates a default X-Y-
JFreeChart from a single
PlotModel. |
static org.jfree.chart.JFreeChart |
createDefaultScatterXYPlot(List<PlotModel> plotModels)
This method creates a
JFreeChart from a PlotModel. |
static HistogramChart |
createHistogramPlot(javax.media.jai.Histogram histo,
String histoTitle)
Creates a histogram chart from a
Histogram. |
static org.jfree.chart.JFreeChart |
createHistogramPlot(List<PlotModel> plotModels,
String histoTitle)
Creates a histogram chart from a list of
PlotModels. |
static org.jfree.chart.JFreeChart |
createHistogramPlot(RenderedImage image,
String histoTitle)
Creates a histogram chart from a
RenderedImage. |
static org.jfree.chart.JFreeChart |
createHistogramPlot(org.jfree.data.xy.XYDataset dataset,
String histoTitle)
Creates a histogram chart from a data set.
|
static org.jfree.chart.JFreeChart |
createPlot(List<PlotModel> plotModels,
ChartType type)
|
static org.jfree.chart.JFreeChart |
createThumbNailPlot(List<PlotModel> plotModels,
boolean withAxes)
|
static org.jfree.chart.JFreeChart |
createXYLinePlot(List<PlotModel> plotModels)
This method creates a
JFreeChart from a PlotModel. |
public static org.jfree.chart.JFreeChart createDefaultPlot(PlotModel plotModel) throws Exception
JFreeChart from a single
PlotModel.
This is merely a convenient wrapper method for
createPlot(List, ChartType).
plotModel - the plot modelJFreeChart chart of the plot model, or
null, if the parameter is nullException - if any error occurs in the conversioncreatePlot(List, ChartType)public static org.jfree.chart.JFreeChart createThumbNailPlot(List<PlotModel> plotModels, boolean withAxes) throws Exception
JFreeChart from a List
of PlotModels.
This is merely a convenient wrapper method for
createPlot(List, ChartType).
plotModels - the plot modelswithAxes - a flag whether or not the axes should be shown in the plotJFreeChart chart of the plot model, or
null, if the parameter is null or the
list is emptyException - if any error occurs in the conversioncreatePlot(List, ChartType)public static org.jfree.chart.JFreeChart createDefaultPlot(List<PlotModel> plotModels) throws Exception
JFreeChart from a List
of PlotModels.
This is merely a convenient wrapper method for
createPlot(List, ChartType).
plotModels - the plot modelsJFreeChart chart of the plot model, or
null, if the parameter is null or the
list is emptyException - if any error occurs in the conversioncreatePlot(List, ChartType)public static org.jfree.chart.JFreeChart createPlot(List<PlotModel> plotModels, ChartType type) throws Exception
JFreeChart from a List of
PlotModels.
This is merely a convenient wrapper method for
createXYLinePlot(List).
plotModels - the plot modelstype - the ChartType of the chart, may be null,
but then, a ChartType.DEFAULT type is constructedJFreeChart chart of the plot model, or
null, if the parameter is null or the
list is emptyIllegalArgumentException - if the argument is null or does not contain any
elementsExceptioncreateXYLinePlot(List)public static org.jfree.chart.JFreeChart createXYLinePlot(List<PlotModel> plotModels) throws IllegalArgumentException
JFreeChart from a PlotModel.plotModels - the plot modelsJFreeChart chart of the plot model, or
null if the parameter is nullException - if any error occurs in the conversionIllegalArgumentException - if the argument is null or does not contain any
elementspublic static org.jfree.chart.JFreeChart createDefaultScatterXYPlot(List<PlotModel> plotModels) throws IllegalArgumentException
JFreeChart from a PlotModel.plotModels - the plot modelsJFreeChart chart of the plot model, or
null if the parameter is nullException - if any error occurs in the conversionIllegalArgumentException - if the argument is null or does not contain any
elementspublic static org.jfree.chart.JFreeChart createHistogramPlot(List<PlotModel> plotModels, String histoTitle)
PlotModels.plotModels - the list of PlotModelshistoTitle - the title of the histogrampublic static HistogramChart createHistogramPlot(javax.media.jai.Histogram histo, String histoTitle)
Histogram.histo - the histogramhistoTitle - the title of the histogrampublic static org.jfree.chart.JFreeChart createHistogramPlot(RenderedImage image, String histoTitle)
RenderedImage.image - the imagehistoTitle - the title of the histogrampublic static org.jfree.chart.JFreeChart createHistogramPlot(org.jfree.data.xy.XYDataset dataset,
String histoTitle)
dataset - a dataset.Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.