# C1.Win.C1Chart.ChartGridStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_ChartGridStyle" data-uid="C1.Win.C1Chart.ChartGridStyle" class="text-break">ChartGridStyle Class
</h1>
  <div class="markdown level0 summary"><p>Contains all properties that control the appearance for the gridlines in the chart.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.C1Chart.ChartLineStyle.html">ChartLineStyle</a></div>
    <div class="level2"><span class="xref">ChartGridStyle</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_ChartGridStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(HiddenPropsTypeConverter))]
public class ChartGridStyle : ChartLineStyle, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(HiddenPropsTypeConverter))&gt;
Public Class ChartGridStyle
    Inherits ChartLineStyle
    Implements ICloneable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_AutoSpace" data-uid="C1.Win.C1Chart.ChartGridStyle.AutoSpace">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.AutoSpace.html#C1_Win_C1Chart_ChartGridStyle_AutoSpace">AutoSpace</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets automatic gridline spacing calculation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_Color" data-uid="C1.Win.C1Chart.ChartGridStyle.Color">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.Color.html#C1_Win_C1Chart_ChartGridStyle_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_Pattern" data-uid="C1.Win.C1Chart.ChartGridStyle.Pattern">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.Pattern.html#C1_Win_C1Chart_ChartGridStyle_Pattern">Pattern</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the pattern of the line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_Spacing" data-uid="C1.Win.C1Chart.ChartGridStyle.Spacing">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.Spacing.html#C1_Win_C1Chart_ChartGridStyle_Spacing">Spacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets gridline spacing in data coordinate units.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_Visible" data-uid="C1.Win.C1Chart.ChartGridStyle.Visible">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.Visible.html#C1_Win_C1Chart_ChartGridStyle_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gridline visibility.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ChartGridStyle_ToString" data-uid="C1.Win.C1Chart.ChartGridStyle.ToString">
          <a class="xref" href="C1.Win.C1Chart.ChartGridStyle.ToString.html#C1_Win_C1Chart_ChartGridStyle_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
