Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class ChartDataTable

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

public class ChartDataTable
extends java.lang.Object

Represents a chart data table.


Method Summary
 byte getBackgroundMode()
          Gets the display mode of the background.
 Line getBorder()
          Gets a Line object that represents the border of the chart data table.
 Font getFont()
          Gets a Font object which represents the font setting of the specified chart data table.
 boolean hasBorderHorizonal()
          Indicates whether the chart data table has horizontal cell borders.
 boolean hasBorderOutline()
          Indicates whether the chart data table has outline borders.
 boolean hasBorderVertical()
          Indicates whether the chart data table has vertical cell borders.
 boolean isAutoScaleFont()
          Check whether the text in the object changes font size when the object size changes.
 boolean isShowLegendKeys()
          Gets whether the data label legend key is visible.
 void setAutoScaleFont(boolean isAutoScaleFont)
          Set whether the text in the object changes font size when the object size changes.
 void setBackgroundMode(byte mode)
          Sets the display mode of the background.
 void setBorderHorizonal(boolean hasBorderHorizonal)
          Sets whether the chart data table has horizontal cell borders.
 void setBorderOutline(boolean hasBorderOutline)
          Sets whether the chart data table has outline borders.
 void setBorderVertical(boolean hasBorderVertical)
          Sets whether the chart data table has vertical cell borders.
 void setFont(Font font)
          Sets a Font object which represents the font setting of the specified chart data table.
 void setShowLegendKeys(boolean isShowLegendKeys)
          Sets whether the data label legend key is visible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBorderHorizonal

public void setBorderHorizonal(boolean hasBorderHorizonal)
Sets whether the chart data table has horizontal cell borders.

Parameters:
hasBorderHorizonal -
Throws:
CellsException - if chart has bean removed.

hasBorderHorizonal

public boolean hasBorderHorizonal()
Indicates whether the chart data table has horizontal cell borders.

Returns:
whether chart data table has horizontal cell borders.
Throws:
CellsException - if chart has bean removed.

setBorderVertical

public void setBorderVertical(boolean hasBorderVertical)
Sets whether the chart data table has vertical cell borders.

Parameters:
hasBorderVertical - whether the chart data table has vertical cell borders.
Throws:
CellsException - if chart has bean removed.

hasBorderVertical

public boolean hasBorderVertical()
Indicates whether the chart data table has vertical cell borders.

Returns:
whether the chart data table has vertical cell borders.
Throws:
CellsException - if chart has bean removed.

setBorderOutline

public void setBorderOutline(boolean hasBorderOutline)
Sets whether the chart data table has outline borders.

Parameters:
hasBorderOutline - whether the chart data table has outline borders.
Throws:
CellsException - if chart has bean removed.

hasBorderOutline

public boolean hasBorderOutline()
Indicates whether the chart data table has outline borders.

Returns:
whether the chart data table has outline borders.
Throws:
CellsException - if chart has bean removed.

setShowLegendKeys

public void setShowLegendKeys(boolean isShowLegendKeys)
Sets whether the data label legend key is visible.

Parameters:
isShowLegendKeys - whether the data label legend key is visible.
Throws:
CellsException - if chart has bean removed.

isShowLegendKeys

public boolean isShowLegendKeys()
Gets whether the data label legend key is visible.

Returns:
whether the data label legend key is visible.
Throws:
CellsException - if chart has bean removed.

getFont

public Font getFont()
Gets a Font object which represents the font setting of the specified chart data table.

Returns:
a Font object
Throws:
CellsException - if chart has bean removed.

setFont

public void setFont(Font font)
Sets a Font object which represents the font setting of the specified chart data table.

Parameters:
font - a Font object
Throws:
CellsException - if chart has bean removed.

isAutoScaleFont

public boolean isAutoScaleFont()
Check whether the text in the object changes font size when the object size changes.

Returns:
true if the text in the object changes font size when the object size changes.

setAutoScaleFont

public void setAutoScaleFont(boolean isAutoScaleFont)
Set whether the text in the object changes font size when the object size changes.

Parameters:
isAutoScaleFont - true if the text in the object changes font size when the object size changes.

getBackgroundMode

public byte getBackgroundMode()
Gets the display mode of the background.

Returns:
the display mode of the background.
See Also:
setBackgroundMode(byte)

setBackgroundMode

public void setBackgroundMode(byte mode)
Sets the display mode of the background.

Parameters:
mode - the display mode of the background. It could be one of following:
BackgroundMode.AUTOMATIC
BackgroundMode.TRANSPARENT
BackgroundMode.OPAQUE

getBorder

public Line getBorder()
Gets a Line object that represents the border of the chart data table.

Returns:
a Line object.
Throws:
CellsException - if chart has bean removed.