Namespace EasyXLS.Charts

Class ExcelPlotArea

All Implemented Interfaces:
IEffectDrawingObject

public class ExcelPlotArea extends EffectDrawingObject
This class stores the plot area information like fill settings, line settings and shadow settings.
  • Constructor Details

    • ExcelPlotArea

      public ExcelPlotArea()
      Defines an instance of the excel plot area.
  • Method Details

    • getBorderStyle

      public int getBorderStyle()
      Deprecated.
      As of version 8.3, replaced by LineStyleFormat.getDashType()
      Returns the border style of the chart plot area. Possible values are available in Chart class.
      Returns:
      the border style of the chart plot area
      See Also:
      setBorderStyle(int)
    • setBorderStyle

      public void setBorderStyle(int borderStyle)
      Deprecated.
      As of version 8.3, replaced by LineStyleFormat.setDashType(System.String)
      Sets the style of the chart plot area border. Possible values are available in Chart class.
      Parameters:
      borderStyle - the new value of the chart plot area border style
    • getBorderWeight

      public int getBorderWeight()
      Deprecated.
      As of version 8.3, replaced by LineStyleFormat.getWidth()
      Returns the border style of the chart plot area. Possible values are available in Chart class.
      Returns:
      the border style of the chart plot area
      See Also:
      setBorderWeight(int)
    • setBorderWeight

      public void setBorderWeight(int borderWeight)
      Deprecated.
      As of version 8.3, replaced by LineStyleFormat.setWidth(float)
      Sets the weight of the chart plot area border. Possible values are available in Chart class.
      Parameters:
      borderWeight - then new value of the chart plot area border weight
      See Also:
      getBorderWeight()
    • getBorderColor

      public System.Drawing.Color getBorderColor()
      Deprecated.
      As of version 8.3, replaced by LineColorFormat.getLineColor()
      Returns the border color of the chart plot area.
      Returns:
      the border color of the chart plot area
      See Also:
      setBorderColor(Color)
    • setBorderColor

      public void setBorderColor(System.Drawing.Color borderColor)
      Deprecated.
      As of version 8.3, replaced by LineColorFormat.setLineColor(Color)
      Sets the color of the chart plot area border.
      Parameters:
      borderColor - the new color of the chart plot area border
      See Also:
      getBorderColor()
    • getBackground

      public System.Drawing.Color getBackground()
      Deprecated.
      As of version 8.3, replaced by FillFormat.getBackground()
      Returns the chart plot area background color.
      Returns:
      the chart plot area background color
    • setBackground

      public void setBackground(System.Drawing.Color background)
      Deprecated.
      As of version 8.3, replaced by FillFormat.setBackground(Color)
      Sets the background color of the chart plot area.
      Parameters:
      background - the new color of the chart plot area background
    • Clone

      public ExcelPlotArea Clone()
      Creates and returns a copy of this object.
      Returns:
      a clone of this instance.