Namespace EasyXLS.Charts
Class ExcelChartGridlines
System.Object
EasyXLS.Drawings.DrawingObject
EasyXLS.Drawings.LineDrawingObject
EasyXLS.Charts.ExcelChartGridlines
This class stores the chart gridlines information like line settings, shadow settings and visibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone()Creates and returns a copy of this object.System.Drawing.ColorDeprecated.intDeprecated.As of version 8.3, replaced byLineStyleFormat.getDashType()intDeprecated.As of version 8.3, replaced byLineStyleFormat.getWidth()boolReturns the visible setting of the chart gridlines.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)voidsetVisible(bool isVisible) Sets the visible setting of the chart gridlines.Methods 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
-
ExcelChartGridlines
public ExcelChartGridlines()Defines an instance of the chart gridlines.
-
-
Method Details
-
IsVisible
public bool IsVisible()Returns the visible setting of the chart gridlines.- Returns:
- the visible setting of the chart gridlines
- See Also:
-
setVisible
public void setVisible(bool isVisible) Sets the visible setting of the chart gridlines.- Parameters:
isVisible- the visible setting of the chart gridlines- See Also:
-
getLineStyle
public int getLineStyle()Deprecated.As of version 8.3, replaced byLineStyleFormat.getDashType()Returns the line style of the chart gridlines. Possible values are available inChartclass.- Returns:
- the line style of the chart gridlines
- See Also:
-
setLineStyle
public void setLineStyle(int lineStyle) Deprecated.As of version 8.3, replaced byLineStyleFormat.setDashType(System.String)Sets the line style of the chart gridlines. Possible values are available inChartclass.- Parameters:
lineStyle- the new style of the chart gridlines- See Also:
-
getLineWeight
public int getLineWeight()Deprecated.As of version 8.3, replaced byLineStyleFormat.getWidth()Returns the line weight of the chart gridlines. Possible values are available inChartclass.- Returns:
- the line weight of the chart gridlines
- 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 gridlines. Possible values are available inChartclass.- Parameters:
lineWeight- the new line weight of the chart gridlines- See Also:
-
getLineColor
public System.Drawing.Color getLineColor()Deprecated.As of version 8.3, replaced byLineColorFormat.getLineColor()Returns the line color of the chart gridlines.- Returns:
- Returns the line color of the chart gridlines.
- See Also:
-
setLineColor
public void setLineColor(System.Drawing.Color lineColor) Deprecated.As of version 8.3, replaced byLineColorFormat.setLineColor(Color)Sets the line color of the chart gridlines.- Parameters:
lineColor- the new color of the chart gridlines- See Also:
-
Clone
Creates and returns a copy of this object.- Returns:
- a clone of this instance.
-
LineColorFormat.getLineColor()