Package repast.simphony.chart2
Class OverflowLegendUpdater
- java.lang.Object
-
- repast.simphony.chart2.OverflowLegendUpdater
-
- All Implemented Interfaces:
EventListener
,org.jfree.chart.event.PlotChangeListener
public class OverflowLegendUpdater extends Object implements org.jfree.chart.event.PlotChangeListener
Updates the a chart's overflow legend.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description OverflowLegendUpdater(org.jfree.chart.JFreeChart chart, StaticHistogramDataset data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
plotChanged(org.jfree.chart.event.PlotChangeEvent arg0)
void
update()
Updates the title to the latest overflow.
-
-
-
Constructor Detail
-
OverflowLegendUpdater
public OverflowLegendUpdater(org.jfree.chart.JFreeChart chart, StaticHistogramDataset data)
- Parameters:
chart
-title
-data
-
-
-