# C1.Win.Chart.Axis.SetChartType

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_Axis_SetChartType_" data-uid="C1.Win.Chart.Axis.SetChartType*">SetChartType Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_Axis_SetChartType_" data-uid="C1.Win.Chart.Axis.SetChartType*"></a>
<h4 id="C1_Win_Chart_Axis_SetChartType_System_Nullable_C1_Chart_ChartType__" data-uid="C1.Win.Chart.Axis.SetChartType(System.Nullable{C1.Chart.ChartType})">SetChartType(ChartType?)</h4>
<div class="markdown level1 summary"><p>Sets the chart type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetChartType(ChartType? type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetChartType(type As ChartType?)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">ChartType</span>?</td>
      <td><span class="parametername">type</span></td>
      <td><p>The <span class="xref">C1.Win.Chart.Axis.ChartType</span> to assign.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
