Package repast.simphony.chart2
Class LineChartCreator
- java.lang.Object
-
- repast.simphony.chart2.AbstractChartCreator
-
- repast.simphony.chart2.LineChartCreator
-
- All Implemented Interfaces:
ChartCreator<TimeSeriesChartDescriptor>
public class LineChartCreator extends AbstractChartCreator implements ChartCreator<TimeSeriesChartDescriptor>
ChartCreator for creating a line chart.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description LineChartCreator(org.jfree.data.xy.XYSeriesCollection xydata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jfree.chart.ChartPanel
createChartComponent(TimeSeriesChartDescriptor descriptor)
Creates and returns the chart components.void
reset()
Resets the creator prior to creating a chart.void
setAntiAliasing(boolean antiAliasing)
-
-
-
Method Detail
-
setAntiAliasing
public void setAntiAliasing(boolean antiAliasing)
-
reset
public void reset()
Description copied from interface:ChartCreator
Resets the creator prior to creating a chart.- Specified by:
reset
in interfaceChartCreator<TimeSeriesChartDescriptor>
-
createChartComponent
public org.jfree.chart.ChartPanel createChartComponent(TimeSeriesChartDescriptor descriptor)
Description copied from interface:ChartCreator
Creates and returns the chart components.- Specified by:
createChartComponent
in interfaceChartCreator<TimeSeriesChartDescriptor>
- Returns:
- the created chart components.
-
-