# FarPoint.Win.Spread.Chart.SeriesDataField.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor*">SeriesDataField Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_FarPoint_Win_Spread_FpSpread_System_String_System_String_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor(FarPoint.Win.Spread.FpSpread,System.String,System.String)">SeriesDataField(FpSpread, string, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SeriesDataField.html">SeriesDataField</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeriesDataField(FpSpread spread, string name, string formula)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(spread As FpSpread, name As String, formula As String)</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.Spread.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The spread.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>The formula.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_FarPoint_Win_Spread_FpSpread_System_String_System_String_FarPoint_Win_Spread_Chart_SegmentDataType_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor(FarPoint.Win.Spread.FpSpread,System.String,System.String,FarPoint.Win.Spread.Chart.SegmentDataType)">SeriesDataField(FpSpread, string, string, SegmentDataType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SeriesDataField.html">SeriesDataField</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeriesDataField(FpSpread spread, string name, string formula, SegmentDataType dataType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(spread As FpSpread, name As String, formula As String, dataType As SegmentDataType)</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.Spread.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The spread.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>The formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SegmentDataType.html">SegmentDataType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>Type of the data.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_FarPoint_Win_Spread_FpSpread_System_String_System_String_FarPoint_Win_Spread_Chart_SegmentDataType_FarPoint_Win_Spread_Chart_ChartDataSetting_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor(FarPoint.Win.Spread.FpSpread,System.String,System.String,FarPoint.Win.Spread.Chart.SegmentDataType,FarPoint.Win.Spread.Chart.ChartDataSetting)">SeriesDataField(FpSpread, string, string, SegmentDataType, ChartDataSetting)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SeriesDataField.html">SeriesDataField</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeriesDataField(FpSpread spread, string name, string formula, SegmentDataType dataType, ChartDataSetting dataSetting)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(spread As FpSpread, name As String, formula As String, dataType As SegmentDataType, dataSetting As ChartDataSetting)</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.Spread.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The spread.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>The formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SegmentDataType.html">SegmentDataType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>Type of the data.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.ChartDataSetting.html">ChartDataSetting</a></td>
      <td><span class="parametername">dataSetting</span></td>
      <td><p>The data setting</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SeriesDataField__ctor_FarPoint_Win_Spread_FpSpread_System_String_System_String_FarPoint_Win_Spread_Chart_SegmentDataType_FarPoint_Win_Spread_Chart_ChartDataSetting_FarPoint_Win_Spread_Chart_DataOrientation_" data-uid="FarPoint.Win.Spread.Chart.SeriesDataField.#ctor(FarPoint.Win.Spread.FpSpread,System.String,System.String,FarPoint.Win.Spread.Chart.SegmentDataType,FarPoint.Win.Spread.Chart.ChartDataSetting,FarPoint.Win.Spread.Chart.DataOrientation)">SeriesDataField(FpSpread, string, string, SegmentDataType, ChartDataSetting, DataOrientation)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SeriesDataField.html">SeriesDataField</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeriesDataField(FpSpread spread, string name, string formula, SegmentDataType dataType, ChartDataSetting dataSetting, DataOrientation dataOrientation)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(spread As FpSpread, name As String, formula As String, dataType As SegmentDataType, dataSetting As ChartDataSetting, dataOrientation As DataOrientation)</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.Spread.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The spread.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">formula</span></td>
      <td><p>The formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SegmentDataType.html">SegmentDataType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>Type of the data.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.ChartDataSetting.html">ChartDataSetting</a></td>
      <td><span class="parametername">dataSetting</span></td>
      <td><p>The data setting</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.DataOrientation.html">DataOrientation</a></td>
      <td><span class="parametername">dataOrientation</span></td>
      <td><p>The data orientation</p>
</td>
    </tr>
  </tbody>
</table>
</div>
