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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*">SpreadChart Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_Type_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.Type)">SpreadChart(Type)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.FpChart.html">FpChart</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 SpreadChart(Type seriesType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(seriesType As Type)</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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_Type_FarPoint_Win_Chart_ChartViewType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.Type,FarPoint.Win.Chart.ChartViewType)">SpreadChart(Type, ChartViewType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(Type seriesType, ChartViewType viewType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(seriesType As Type, viewType As ChartViewType)</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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_Type_FarPoint_Win_Chart_ChartViewType_System_Drawing_Point_System_Drawing_Size_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.Type,FarPoint.Win.Chart.ChartViewType,System.Drawing.Point,System.Drawing.Size)">SpreadChart(Type, ChartViewType, Point, Size)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(Type seriesType, ChartViewType viewType, Point location, Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(seriesType As Type, viewType As ChartViewType, location As Point, size As Size)</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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_Type_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.Type)">SpreadChart(string, Type)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string formula, Type seriesType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(formula As String, seriesType As Type)</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="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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_Type_System_Drawing_Point_System_Drawing_Size_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.Type,System.Drawing.Point,System.Drawing.Size)">SpreadChart(string, Type, Point, Size)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string formula, Type seriesType, Point location, Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(formula As String, seriesType As Type, location As Point, size As Size)</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="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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_Type_System_Drawing_Point_System_Drawing_Size_FarPoint_Win_Chart_ChartViewType_System_Boolean_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.Type,System.Drawing.Point,System.Drawing.Size,FarPoint.Win.Chart.ChartViewType,System.Boolean)">SpreadChart(string, Type, Point, Size, ChartViewType, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string formula, Type seriesType, Point location, Size size, ChartViewType viewType, bool showLegend)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(formula As String, seriesType As Type, location As Point, size As Size, viewType As ChartViewType, showLegend As Boolean)</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="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="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showLegend</span></td>
      <td><p>if set to <code>true</code> [show legend].</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_String_System_String_System_Type_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.String,System.String,System.Type)">SpreadChart(string, string, string, Type)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string categoryFormula, string nameFormula, string dataFormula, Type seriesType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(categoryFormula As String, nameFormula As String, dataFormula As String, seriesType As Type)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">categoryFormula</span></td>
      <td><p>The category formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">nameFormula</span></td>
      <td><p>The name formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dataFormula</span></td>
      <td><p>The data formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_String_System_String_System_Type_System_Drawing_Point_System_Drawing_Size_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.String,System.String,System.Type,System.Drawing.Point,System.Drawing.Size)">SpreadChart(string, string, string, Type, Point, Size)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string categoryFormula, string nameFormula, string dataFormula, Type seriesType, Point location, Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(categoryFormula As String, nameFormula As String, dataFormula As String, seriesType As Type, location As Point, size As Size)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">categoryFormula</span></td>
      <td><p>The category formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">nameFormula</span></td>
      <td><p>The name formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dataFormula</span></td>
      <td><p>The data formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_System_String_System_String_System_String_System_Type_System_Drawing_Point_System_Drawing_Size_FarPoint_Win_Chart_ChartViewType_System_Boolean_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor(System.String,System.String,System.String,System.Type,System.Drawing.Point,System.Drawing.Size,FarPoint.Win.Chart.ChartViewType,System.Boolean)">SpreadChart(string, string, string, Type, Point, Size, ChartViewType, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart(string categoryFormula, string nameFormula, string dataFormula, Type seriesType, Point location, Size size, ChartViewType viewType, bool showLegend)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(categoryFormula As String, nameFormula As String, dataFormula As String, seriesType As Type, location As Point, size As Size, viewType As ChartViewType, showLegend As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">categoryFormula</span></td>
      <td><p>The category formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">nameFormula</span></td>
      <td><p>The name formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dataFormula</span></td>
      <td><p>The data formula.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">seriesType</span></td>
      <td><p>Type of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>The location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">showLegend</span></td>
      <td><p>if set to <code>true</code> [show legend].</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChart__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChart__ctor" data-uid="FarPoint.Win.Spread.Chart.SpreadChart.#ctor">SpreadChart()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</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 SpreadChart()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>
</div>
