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
ConstructorDescriptionOverflowLegendUpdater
(org.jfree.chart.JFreeChart chart, StaticHistogramDataset data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
plotChanged
(org.jfree.chart.event.PlotChangeEvent arg0) void
update()
Updates the title to the latest overflow.
-
Constructor Details
-
OverflowLegendUpdater
- Parameters:
chart
-title
-data
-
-
-
Method Details
-
update
public void update()Updates the title to the latest overflow. -
plotChanged
public void plotChanged(org.jfree.chart.event.PlotChangeEvent arg0) - Specified by:
plotChanged
in interfaceorg.jfree.chart.event.PlotChangeListener
-