net.sourceforge.openforecast.output
Class TimeSeriesOutputter
- java.lang.Object
-
- net.sourceforge.openforecast.output.TimeSeriesOutputter
-
- All Implemented Interfaces:
- Outputter
public class TimeSeriesOutputter extends java.lang.Object implements Outputter
Defines an Outputter that can be used to add the DataPoints from a DataSet to a (JFreeChart) TimeSeries. This class provides for a quick and easy "export" of forecast data points to a JFreeChart TimeSeries that can be displayed in a JFreeChart.- Since:
- 0.4
- See Also:
- JFreeChart
-
-
Constructor Summary
Constructors Constructor and Description TimeSeriesOutputter(org.jfree.data.time.TimeSeries timeSeries, java.lang.Class<?> timePeriodClass)Constructs a new TimeSeriesOutputter that adds its output to the named TimeSeries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidoutput(DataSet dataSet)Adds a DataSet - a collection of DataPoints - to the current TimeSeries.
-
-
-
Constructor Detail
-
TimeSeriesOutputter
public TimeSeriesOutputter(org.jfree.data.time.TimeSeries timeSeries, java.lang.Class<?> timePeriodClass) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodExceptionConstructs a new TimeSeriesOutputter that adds its output to the named TimeSeries.- Parameters:
timeSeries- the TimeSeries to add output to.- Throws:
java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodException
-
-
Method Detail
-
output
public void output(DataSet dataSet) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException
Adds a DataSet - a collection of DataPoints - to the current TimeSeries. The DataSet should contain all DataPoints to be output.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG