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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_ChartShape__ctor_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.#ctor*">ChartShape Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_ChartShape__ctor_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_ChartShape__ctor_FarPoint_Win_Chart_ChartViewType_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.#ctor(FarPoint.Win.Chart.ChartViewType)">ChartShape(ChartViewType)</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 ChartShape(ChartViewType viewType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(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="../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_ChartShape__ctor_" data-uid="FarPoint.Win.Spread.Chart.ChartShape.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_ChartShape__ctor" data-uid="FarPoint.Win.Spread.Chart.ChartShape.#ctor">ChartShape()</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. The created chart will be displayed in 2D view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ChartShape()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>
</div>
