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
-
Method Summary
Modifier and TypeMethodDescriptionClone()
Creates and returns a copy of this object.System.Drawing.Color
Deprecated.int
Deprecated.As of version 8.3, replaced byLineStyleFormat.getDashType()
int
Deprecated.As of version 8.3, replaced byLineStyleFormat.getWidth()
bool
Returns the visible setting of the chart gridlines.void
setLineColor(System.Drawing.Color lineColor)
Deprecated.As of version 8.3, replaced byLineColorFormat.setLineColor(Color)
void
setLineStyle(int lineStyle)
Deprecated.As of version 8.3, replaced byLineStyleFormat.setDashType(System.String)
void
setLineWeight(int lineWeight)
Deprecated.As of version 8.3, replaced byLineStyleFormat.setWidth(float)
void
setVisible(bool isVisible)
Sets the visible setting of the chart gridlines.Methods inherited from class EasyXLS.Drawings.LineDrawingObject
getLineColorFormat, getLineStyleFormat, getShadowFormat, setLineColorFormat, setLineStyleFormat, setShadowFormat
Methods inherited from class EasyXLS.Drawings.DrawingObject
getHeight, getHorizontalOffset, getRelativeHeight, getRelativeHorizontalOffset, getRelativeVerticalOffset, getRelativeWidth, getVerticalOffset, getWidth, setLeftUpperOffset, setRelativeLeftUpperOffset, setRelativeSize, setSize
Methods 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(bool)
-
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:
IsVisible()
-
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 inChart
class.- Returns:
- the line style of the chart gridlines
- See Also:
setLineStyle(int)
-
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 inChart
class.- Parameters:
lineStyle
- the new style of the chart gridlines- See Also:
getLineStyle()
-
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 inChart
class.- Returns:
- the line weight of the chart gridlines
- See Also:
setLineWeight(int)
-
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 inChart
class.- Parameters:
lineWeight
- the new line weight of the chart gridlines- See Also:
getLineWeight()
-
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(Color)
-
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:
getLineColor()
-
Clone
Creates and returns a copy of this object.- Returns:
- a clone of this instance.
-
LineColorFormat.getLineColor()