Package repast.simphony.chart2
Class RangeFix
java.lang.Object
repast.simphony.chart2.RangeFix
- All Implemented Interfaces:
EventListener
,org.jfree.data.general.DatasetChangeListener
Sets the initial range from -2 to some specified amount and then when that
max has been exceeded reverts back to auto range.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
datasetChanged
(org.jfree.data.general.DatasetChangeEvent evt)
-
Constructor Details
-
RangeFix
public RangeFix(org.jfree.chart.plot.XYPlot plot, int max)
-
-
Method Details
-
datasetChanged
public void datasetChanged(org.jfree.data.general.DatasetChangeEvent evt) - Specified by:
datasetChanged
in interfaceorg.jfree.data.general.DatasetChangeListener
-