Class 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 Detail

      • OverflowLegendUpdater

        public OverflowLegendUpdater​(org.jfree.chart.JFreeChart chart,
                                     StaticHistogramDataset data)
        Parameters:
        chart -
        title -
        data -
    • Method Detail

      • 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 interface org.jfree.chart.event.PlotChangeListener