# FarPoint.Win.Spread.Chart.SpreadChart.ChangeSeriesType

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_SpreadChart_ChangeSeriesType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.ChangeSeriesType*">ChangeSeriesType Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_SpreadChart_ChangeSeriesType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.ChangeSeriesType*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart_ChangeSeriesType_FarPoint_Win_Chart_Series_FarPoint_Win_Chart_Series_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.ChangeSeriesType(FarPoint.Win.Chart.Series,FarPoint.Win.Chart.Series)">ChangeSeriesType(Series, Series)</h4>
<div class="markdown level1 summary"><p>Changes the type of the series.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ChangeSeriesType(Series sourceSeries, Series targetSeries)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ChangeSeriesType(sourceSeries As Series, targetSeries As Series)</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><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.Series.html">Series</a></td>
      <td><span class="parametername">sourceSeries</span></td>
      <td><p>The source series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.Series.html">Series</a></td>
      <td><span class="parametername">targetSeries</span></td>
      <td><p>The target series.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_Chart_SpreadChart_ChangeSeriesType_FarPoint_Win_Chart_Series_FarPoint_Win_Chart_Series__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The targetSeries will be added to ChartModel.</p>
</div>
</div>
