Class AbstractBasePlot

java.lang.Object
net.sf.dynamicreports.report.base.chart.plot.AbstractBasePlot
All Implemented Interfaces:
Serializable, DRIBasePlot, DRIPlot
Direct Known Subclasses:
DRAxisPlot, DRPiePlot

public abstract class AbstractBasePlot extends Object implements DRIBasePlot

Abstract AbstractBasePlot class.

Author:
Ricardo Mariaca
See Also:
  • Constructor Details

    • AbstractBasePlot

      protected AbstractBasePlot()

      Constructor for AbstractBasePlot.

  • Method Details

    • init

      protected void init()

      init.

    • getOrientation

      public Orientation getOrientation()

      getOrientation.

      Specified by:
      getOrientation in interface DRIBasePlot
      Returns:
      a Orientation object.
    • setOrientation

      public void setOrientation(Orientation orientation)

      Setter for the field orientation.

      Parameters:
      orientation - a Orientation object.
    • addSeriesColor

      public void addSeriesColor(Color color)

      addSeriesColor.

      Parameters:
      color - a Color object.
    • getSeriesColors

      public List<Color> getSeriesColors()

      getSeriesColors.

      Specified by:
      getSeriesColors in interface DRIBasePlot
      Returns:
      a List object.
    • setSeriesColors

      public void setSeriesColors(List<Color> seriesColors)

      Setter for the field seriesColors.

      Parameters:
      seriesColors - a List object.
    • addSeriesColorByName

      public void addSeriesColorByName(String seriesName, Color color)

      addSeriesColorByName.

      Parameters:
      seriesName - a String object.
      color - a Color object.
    • getSeriesColorsByName

      public Map<String,Color> getSeriesColorsByName()

      getSeriesColorsByName.

      Specified by:
      getSeriesColorsByName in interface DRIBasePlot
      Returns:
      a Map object.
    • setSeriesColorsByName

      public void setSeriesColorsByName(Map<String,Color> seriesColorsByName)

      Setter for the field seriesColorsByName.

      Parameters:
      seriesColorsByName - a Map object.