Namespace EasyXLS.Charts

Class ExcelChartGridlines


  • public class ExcelChartGridlines
    extends LineDrawingObject
    This class stores the chart gridlines information like line settings, shadow settings and visibility.
    • Constructor Detail

      • ExcelChartGridlines

        public ExcelChartGridlines()
        Defines an instance of the chart gridlines.
    • Method Detail

      • 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 by LineStyleFormat.getDashType()
        Returns the line style of the chart gridlines. Possible values are available in Chart 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 by LineStyleFormat.setDashType(System.String)
        Sets the line style of the chart gridlines. Possible values are available in Chart class.
        Parameters:
        lineStyle - the new style of the chart gridlines
        See Also:
        getLineStyle()
      • getLineWeight

        public int getLineWeight()
        Deprecated.
        As of version 8.3, replaced by LineStyleFormat.getWidth()
        Returns the line weight of the chart gridlines. Possible values are available in Chart 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 by LineStyleFormat.setWidth(float)
        Sets the line weight of the chart gridlines. Possible values are available in Chart 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 by LineColorFormat.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 by LineColorFormat.setLineColor(Color)
        Sets the line color of the chart gridlines.
        Parameters:
        lineColor - the new color of the chart gridlines
        See Also:
        getLineColor()
      • Clone

        public ExcelChartGridlines Clone()
        Creates and returns a copy of this object.
        Returns:
        a clone of this instance.