# C1.WPF.C1Chart.GradientMethod

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_C1Chart_GradientMethod" data-uid="C1.WPF.C1Chart.GradientMethod" class="text-break">GradientMethod Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies how to handle gradient brushes in themes and custom palettes.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.C1Chart.html">C1.WPF.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.C1Chart.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1Chart_GradientMethod_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GradientMethod</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GradientMethod</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_C1Chart_GradientMethod_Auto">Auto</td>
        <td><p>Automatic, chart converts linear brushes to radial if it is
appropriate for the current chart type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_GradientMethod_Linear">Linear</td>
        <td><p>Chart always uses linear gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_GradientMethod_None">None</td>
        <td><p>There is no conversion for gradient brushes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1Chart_GradientMethod_Radial">Radial</td>
        <td><p>Chart always uses radial gradient.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
