Class RangeFix

java.lang.Object
repast.simphony.chart2.RangeFix
All Implemented Interfaces:
EventListener, org.jfree.data.general.DatasetChangeListener

public class RangeFix extends Object implements 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 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 interface org.jfree.data.general.DatasetChangeListener