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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
Constructor Details
-
LineChartCreator
public LineChartCreator(org.jfree.data.xy.XYSeriesCollection xydata)
-
-
Method Details
-
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
Description copied from interface:ChartCreator
Creates and returns the chart components.- Specified by:
createChartComponent
in interfaceChartCreator<TimeSeriesChartDescriptor>
- Returns:
- the created chart components.
-