Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.cells
Class ChartArea

java.lang.Object
  extended by com.aspose.cells.ChartArea

public class ChartArea
extends java.lang.Object

Encapsulates the object that represents the chart area in the worksheet.


Method Summary
 Area getArea()
          Gets the Area.
 Line getBorder()
          Gets the border Line.
 Font getFont()
          Gets a Font object of the chart area.
 boolean isShadow()
          Indicates whether the chart area has a shadow.
 void setFont(Font font)
          Sets a Font object of the chart area.
 void setShadow(boolean isShadow)
          Sets whether the chart area has a shadow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFont

public Font getFont()
Gets a Font object of the chart area.

Returns:
Font object of the chart area.
Throws:
ExcelException - if chart has bean removed.

setFont

public void setFont(Font font)
Sets a Font object of the chart area.

Parameters:
font - a Font object of the chart area.
Throws:
ExcelException - if chart has bean removed.

setShadow

public void setShadow(boolean isShadow)
Sets whether the chart area has a shadow.

Parameters:
isShadow - whether the chart area has a shadow.
Throws:
ExcelException - if chart has bean removed.

isShadow

public boolean isShadow()
Indicates whether the chart area has a shadow.

Returns:
whether the chart area has a shadow.
Throws:
ExcelException - if chart has bean removed.

getBorder

public Line getBorder()
Gets the border Line.

Returns:
the border Line.
Throws:
ExcelException - if chart has bean removed.

getArea

public Area getArea()
Gets the Area.

Returns:
the Area.
Throws:
ExcelException - if chart has bean removed.