|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphstream.algorithm.measure.ChartMeasure
public abstract class ChartMeasure
This is the base for high level measures. These measures allow to compute statistical values and plotting.
| Nested Class Summary | |
|---|---|
static class |
ChartMeasure.PlotException
Exception that can be raised when trying to plot measures. |
static class |
ChartMeasure.PlotOutputType
Defines the support used for rendering : on screen or in a file. |
static class |
ChartMeasure.PlotParameters
Parameters defining how to plot measures. |
static class |
ChartMeasure.PlotType
Type of plot.s |
| Method Summary | |
|---|---|
abstract org.jfree.chart.JFreeChart |
createChart(ChartMeasure.PlotParameters params)
Create a new chart of this measure according to a set of parameters. |
abstract ChartMeasure.PlotParameters |
getDefaultPlotParameters()
Create a default set of parameters to plot this measure. |
static void |
outputPlot(ChartMeasure.PlotParameters params,
ChartMeasure... measures)
Utility function to call outputPlot(PlotParameters, JFreeChart...) with
ChartMeasure objects. |
static void |
outputPlot(ChartMeasure.PlotParameters params,
org.jfree.chart.JFreeChart... charts)
Output some charts according to a set of parameters. |
void |
plot()
Create a new plot with default plot parameters. |
abstract void |
plot(ChartMeasure.PlotParameters params)
Plot this measure using a set of parameters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void plot()
throws ChartMeasure.PlotException
ChartMeasure.PlotExceptiongetDefaultPlotParameters()public abstract ChartMeasure.PlotParameters getDefaultPlotParameters()
public abstract void plot(ChartMeasure.PlotParameters params)
throws ChartMeasure.PlotException
params - parameters that should be used to plot the measure
ChartMeasure.PlotException
public abstract org.jfree.chart.JFreeChart createChart(ChartMeasure.PlotParameters params)
throws ChartMeasure.PlotException
params - the set of parameters used to create the chart
ChartMeasure.PlotException
public static void outputPlot(ChartMeasure.PlotParameters params,
ChartMeasure... measures)
throws ChartMeasure.PlotException
outputPlot(PlotParameters, JFreeChart...) with
ChartMeasure objects.
params - set of parameters used to output the plotmeasures - measures to plot
ChartMeasure.PlotExceptionoutputPlot(PlotParameters, JFreeChart...)
public static void outputPlot(ChartMeasure.PlotParameters params,
org.jfree.chart.JFreeChart... charts)
throws ChartMeasure.PlotException
ChartMeasure.PlotParameters.outputType, plot
is displayed on screen or saved in a file.
params - parameters used to plotcharts - charts to output
ChartMeasure.PlotException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||