Permalink
Commits on Sep 18, 2016
  1. Removed Legend.refresh().

    ValueLegend takes care of refreshes whenever a DataSource is added, removed, or changed.
    SeriesLegend refreshes automatically when a DataSource is added or removed.
    Removed obsolete methods isValid, invalidate, and refresh from AbstractLegend.
    seifertm committed Sep 18, 2016
  2. AbstractPlot no longer calls Legend.refresh().

    ValueLegend refreshes itself when the underlying data changes.
    seifertm committed Sep 18, 2016
  3. BarPlot.LegendSymbol receives a BarRenderer instead of a general Poin…

    …tRenderer as a constructor argument.
    seifertm committed Sep 18, 2016
  4. The legend symbols of BarPlot, BoxPlot, and PiePlot no longer use row…

    ….getSource().
    
    However, they require an additional PointRenderer to be passed as a constructor argument.
    seifertm committed Sep 18, 2016
  5. Moved AbstractLegend.getLabel(Row) into subclasses, because the code …

    …was designed for ValueLegend only.
    seifertm committed Sep 18, 2016
  6. SeriesLegend.getSymbol() takes a DataSource as argument.

    This was changed, because SeriesLegend works with DataSource object as opposed to ValueLegend which works with records.
    seifertm committed Sep 18, 2016
  7. Moved AbstractLegend.getSymbol(Row) into subclasses, because the code…

    … was designed for ValueLegend only.
    seifertm committed Sep 18, 2016
  8. Pushed AbstractLegend.components into subclasses, because the code wa…

    …s designed for ValueLegend only.
    seifertm committed Sep 18, 2016
Commits on Sep 17, 2016
  1. AbstractLegend.AbstractSymbol no longer depends on Legend.

    AbstractSymbol now requires the font and symbol size to be passed as constructor arguments.
    seifertm committed Sep 17, 2016
  2. Removed javadoc of getPoint for all classes implementing PointRendere…

    …r and replaced them with Overrides if applicable.
    seifertm committed Sep 17, 2016
  3. Fixed example DynamicPiePlot.

    DynamicPiePlot now uses PiePlot.createPieData.
    seifertm committed Sep 17, 2016
  4. The DataSource created by PiePlot.createPieData changes when data is …

    …added to the underlying data source.
    
    Resolves #147.
    seifertm committed Sep 17, 2016
  5. Relaxed test for PiePlot.createPieData.

    The method assumes that only one numeric column is present in the data source.
    seifertm committed Sep 17, 2016
  6. Replaced duplicate javadoc comments in classes implementing AbstractL…

    …egend and replaced them with an Overrides annotation.
    seifertm committed Sep 17, 2016
  7. AbstractLegend no longer implements LegendSymbolRenderer.

    LegendSymbolRenderer.getSymbol(Row) was replaced by a protected method in AbstractLegend.
    Classes implementing AbstractLegend no longer export getSymbol(Row) as a public method.
    seifertm committed Sep 17, 2016