Namespace EasyXLS.Charts
Class ExcelDataTable
System.Object
- All Implemented Interfaces:
IEffectDrawingObject,IFontDrawingObject
This class stores the data table information like
line settings, fill settings, font settings, shadow settings, legend key visibility,
horizontal lines visibility, vertical lines visibility, outlines visibility, visibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone()Creates and returns a copy of this object.System.StringgetFont()Deprecated.intDeprecated.As of version 8.3, replaced byFontFormat.getFontSize()System.Drawing.ColorDeprecated.As of version 8.3, replaced byFontFormat.getForeground()System.Drawing.ColorDeprecated.As of version 8.3, replaced byLineColorFormat.getLineColor()intDeprecated.As of version 8.3, replaced byLineStyleFormat.getDashType()intDeprecated.As of version 8.3, replaced byLineStyleFormat.getWidth()intDeprecated.As of version 8.3, replaced byFontFormat.getUnderlineStyle()boolReturns a value showing if the data table has horizontal lines between entries.boolReturns a bool value representing the visibility of the data table legend key.boolReturns a bool value representing the visibility of the data table outline lines.boolReturns a bool value representing the visibility of the vertical lines between values.boolIsBold()Deprecated.As of version 8.3, replaced byFontFormat.IsBold()boolIsItalic()Deprecated.As of version 8.3, replaced byFontFormat.IsItalic()boolDeprecated.As of version 8.3, replaced byFontFormat.IsStrikethrough()boolDeprecated.As of version 8.3, replaced byFontFormat.IsSubscript()boolDeprecated.As of version 8.3, replaced byFontFormat.IsSuperscript()boolReturns the visible setting of the chart data table.voidsetBold(bool isBold) Deprecated.As of version 8.3, replaced byFontFormat.setBold(bool)voidsetFont(System.String fontName) Deprecated.As of version 8.3, replaced byFontFormat.setFont(System.String)voidsetFontSettings(System.String fontName, int fontSize, bool isBold, bool isItalic, System.Drawing.Color foreground) Deprecated.As of version 8.3, replaced byFontFormat.setFontSettings(String,int,bool,bool,Color)voidsetFontSize(int fontSize) Deprecated.As of version 8.3, replaced byFontFormat.setFontSize(float)voidsetForeground(System.Drawing.Color foreground) Deprecated.As of version 8.3, replaced byFontFormat.setForeground(Color)voidsetHorizontalLines(bool value) Sets the visible value of the horizontal data table grid lines.voidsetItalic(bool isItalic) Deprecated.As of version 8.3, replaced byFontFormat.setItalic(bool)voidsetLegendKey(bool value) Sets the visibility of the data table legend key.voidsetLineColor(System.Drawing.Color lineColor) Deprecated.As of version 8.3, replaced byLineColorFormat.setLineColor(Color)voidsetLineStyle(int lineStyle) Deprecated.As of version 8.3, replaced byLineStyleFormat.setDashType(System.String)voidsetLineWeight(int lineWeight) Deprecated.As of version 8.3, replaced byLineStyleFormat.setWidth(float)voidsetOutlineLines(bool value) Sets the visibility of the data table outline lines.voidsetStrikethrough(bool isStrikethrough) Deprecated.As of version 8.3, replaced byFontFormat.setStrikethrough(bool)voidsetSubscript(bool isSubscript) Deprecated.As of version 8.3, replaced byFontFormat.setSubscript(bool)voidsetSuperscript(bool isSuperscript) Deprecated.As of version 8.3, replaced byFontFormat.setSuperscript(bool)voidsetUnderlineStyle(int underlineStyle) Deprecated.As of version 8.3, replaced byFontFormat.setUnderlineSettings(String,bool)voidsetVerticalLines(bool value) Sets the visible value of the vertical data table grid lines.voidsetVisible(bool value) Sets the visible setting of the chart data table.Methods inherited from class EasyXLS.Drawings.FontDrawingObject
getFontFormat, setFontFormatMethods inherited from class EasyXLS.Drawings.EffectDrawingObject
get3DFormat, set3DFormatMethods inherited from class EasyXLS.Drawings.FillDrawingObject
getFillFormat, setFillFormatMethods inherited from class EasyXLS.Drawings.LineDrawingObject
getLineColorFormat, getLineStyleFormat, getShadowFormat, setLineColorFormat, setLineStyleFormat, setShadowFormatMethods inherited from class EasyXLS.Drawings.DrawingObject
getHeight, getHorizontalOffset, getRelativeHeight, getRelativeHorizontalOffset, getRelativeVerticalOffset, getRelativeWidth, getVerticalOffset, getWidth, setLeftUpperOffset, setRelativeLeftUpperOffset, setRelativeSize, setSizeMethods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExcelDataTable
public ExcelDataTable()Defines an instance of the excel data table.
-
-
Method Details
-
IsVisible
public bool IsVisible()Returns the visible setting of the chart data table.- Returns:
- the visible setting of the chart data table
- See Also:
-
setVisible
public void setVisible(bool value) Sets the visible setting of the chart data table.- Parameters:
value- the new value of the data table visible setting- See Also:
-
getLineStyle
public int getLineStyle()Deprecated.As of version 8.3, replaced byLineStyleFormat.getDashType()Returns the line style of the chart data table. Possible values are available inChartclass.- Returns:
- the line style of the chart data table
- See Also:
-
setLineStyle
public void setLineStyle(int lineStyle) Deprecated.As of version 8.3, replaced byLineStyleFormat.setDashType(System.String)Sets the style of the chart data table line. Possible values are available inChartclass.- Parameters:
lineStyle- the new style of the chart data table line- See Also:
-
getLineColor
public System.Drawing.Color getLineColor()Deprecated.As of version 8.3, replaced byLineColorFormat.getLineColor()Returns the line color of the chart data table.- Returns:
- the line color of the chart data table
- See Also:
-
setLineColor
public void setLineColor(System.Drawing.Color lineColor) Deprecated.As of version 8.3, replaced byLineColorFormat.setLineColor(Color)Sets the color of the chart data table line.- Parameters:
lineColor- the new color of the chart data table line- See Also:
-
getLineWeight
public int getLineWeight()Deprecated.As of version 8.3, replaced byLineStyleFormat.getWidth()Returns the line weight of the chart data table. Possible values are available inChartclass.- Returns:
- the line weight of the chart data table
- See Also:
-
setLineWeight
public void setLineWeight(int lineWeight) Deprecated.As of version 8.3, replaced byLineStyleFormat.setWidth(float)Sets the line weight of the chart data table. Possible values are available inChartclass.- Parameters:
lineWeight- the new value of the chart data table line weight- See Also:
-
HasLegendKey
public bool HasLegendKey()Returns a bool value representing the visibility of the data table legend key.- Returns:
- a bool value representing the visibility of the data table legend key
- See Also:
-
setLegendKey
public void setLegendKey(bool value) Sets the visibility of the data table legend key.- Parameters:
value- the new value of the data table legend key visibility- See Also:
-
HasHorizontalLines
public bool HasHorizontalLines()Returns a value showing if the data table has horizontal lines between entries.- Returns:
- a value showing if the data table has horizontal lines between entries
- See Also:
-
setHorizontalLines
public void setHorizontalLines(bool value) Sets the visible value of the horizontal data table grid lines.- Parameters:
value- the new value of the horizontal data table grid lines visibility- See Also:
-
HasVerticalLines
public bool HasVerticalLines()Returns a bool value representing the visibility of the vertical lines between values.- Returns:
- a bool value representing the visibility of the vertical lines between values.
- See Also:
-
setVerticalLines
public void setVerticalLines(bool value) Sets the visible value of the vertical data table grid lines.- Parameters:
value- the new value of the data table grid lines visibility- See Also:
-
HasOutlineLines
public bool HasOutlineLines()Returns a bool value representing the visibility of the data table outline lines.- Returns:
- a bool value representing the visibility of the data table outline lines.
- See Also:
-
setOutlineLines
public void setOutlineLines(bool value) Sets the visibility of the data table outline lines.- Parameters:
value- the new value of the data table outline lines visibility- See Also:
-
IsStrikethrough
public bool IsStrikethrough()Deprecated.As of version 8.3, replaced byFontFormat.IsStrikethrough()Returns the strikethrough setting of the chart data table font.- Returns:
- the strikethrough setting of the chart data table font
- See Also:
-
setStrikethrough
public void setStrikethrough(bool isStrikethrough) Deprecated.As of version 8.3, replaced byFontFormat.setStrikethrough(bool)Sets the strikethrough setting of the chart data table font.- Parameters:
isStrikethrough- the new value of the data table font strikethrough setting- See Also:
-
IsSuperscript
public bool IsSuperscript()Deprecated.As of version 8.3, replaced byFontFormat.IsSuperscript()Returns the superscript setting of the chart data table font.- Returns:
- the superscript setting of the chart data table font
- See Also:
-
setSuperscript
public void setSuperscript(bool isSuperscript) Deprecated.As of version 8.3, replaced byFontFormat.setSuperscript(bool)Sets the superscript setting of the chart data table font.- Parameters:
isSuperscript- the new value of the chart data table font superscript setting- See Also:
-
IsSubscript
public bool IsSubscript()Deprecated.As of version 8.3, replaced byFontFormat.IsSubscript()Returns the subscript setting of the chart data table font.- Returns:
- the subscript setting of the chart data table font
- See Also:
-
setSubscript
public void setSubscript(bool isSubscript) Deprecated.As of version 8.3, replaced byFontFormat.setSubscript(bool)Sets the subscript setting of the chart data table font.- Parameters:
isSubscript- the new value of the chart data table font subscript setting- See Also:
-
getUnderlineStyle
public int getUnderlineStyle()Deprecated.As of version 8.3, replaced byFontFormat.getUnderlineStyle()Returns the underline style of the chart data table text. Possible values are available inFontSettingsclass.- Returns:
- the underline style of the chart data table text
- See Also:
-
setUnderlineStyle
public void setUnderlineStyle(int underlineStyle) Deprecated.As of version 8.3, replaced byFontFormat.setUnderlineSettings(String,bool)Sets the underline style of the chart data table text. Possible values are available inFontSettingsclass.- Parameters:
underlineStyle- the new value of the data table text underline style- See Also:
-
getFont
public System.String getFont()Deprecated.As of version 8.3, replaced byFontFormat.getFont()Returns the font name used in the chart data table.- Returns:
- the font name used in the chart data table
- See Also:
-
setFont
public void setFont(System.String fontName) Deprecated.As of version 8.3, replaced byFontFormat.setFont(System.String)Sets the chart data table font name.- Parameters:
fontName- the new name of the chart data table font- See Also:
-
getFontSize
public int getFontSize()Deprecated.As of version 8.3, replaced byFontFormat.getFontSize()Returns the size of the font used in the chart data table.- Returns:
- the size of the font used in the chart data table
- See Also:
-
setFontSize
public void setFontSize(int fontSize) Deprecated.As of version 8.3, replaced byFontFormat.setFontSize(float)Sets the size of the chart data table font.- Parameters:
fontSize- the new size of the chart data table font- See Also:
-
IsBold
public bool IsBold()Deprecated.As of version 8.3, replaced byFontFormat.IsBold()Returns the bold setting of the chart data table font.- Returns:
- the bold setting of the chart data table font
- See Also:
-
setBold
public void setBold(bool isBold) Deprecated.As of version 8.3, replaced byFontFormat.setBold(bool)Sets the bold setting of the chart axis data table.- Parameters:
isBold- - the new bold setting of the chart axis data table- See Also:
-
IsItalic
public bool IsItalic()Deprecated.As of version 8.3, replaced byFontFormat.IsItalic()Returns the italic setting of the chart data table font.- Returns:
- the italic setting of the chart data table font
- See Also:
-
setItalic
public void setItalic(bool isItalic) Deprecated.As of version 8.3, replaced byFontFormat.setItalic(bool)Sets the italic setting of the chart data table font.- Parameters:
isItalic- the new italic setting of the chart data table font- See Also:
-
setFontSettings
public void setFontSettings(System.String fontName, int fontSize, bool isBold, bool isItalic, System.Drawing.Color foreground) Deprecated.As of version 8.3, replaced byFontFormat.setFontSettings(String,int,bool,bool,Color)Sets the font settings.- Parameters:
fontName- the name of the fontfontSize- the size of the fontisBold- the bold option of the fontisItalic- the italic option of the fontforeground- the foreground color
-
getForeground
public System.Drawing.Color getForeground()Deprecated.As of version 8.3, replaced byFontFormat.getForeground()Returns the text color of the chart data table.- Returns:
- the text color of the chart data table
- See Also:
-
setForeground
public void setForeground(System.Drawing.Color foreground) Deprecated.As of version 8.3, replaced byFontFormat.setForeground(Color)Sets the font color of the chart data table.- Parameters:
foreground- the new font color of the chart data table- See Also:
-
Clone
Creates and returns a copy of this object.- Returns:
- a clone of this instance.
-
FontFormat.getFont()