# C1.Win.Chart.TrendLine.SampleCount

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_TrendLine_SampleCount_" data-uid="C1.Win.Chart.TrendLine.SampleCount*">SampleCount Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_TrendLine_SampleCount_" data-uid="C1.Win.Chart.TrendLine.SampleCount*"></a>
<h4 id="C1_Win_Chart_TrendLine_SampleCount" data-uid="C1.Win.Chart.TrendLine.SampleCount">SampleCount</h4>
<div class="markdown level1 summary"><p>Gets or sets the sample count for function calculation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;TrendLine.SampleCount&quot;, &quot;Gets or sets the sample count for function calculation.&quot;)]
public int SampleCount { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;TrendLine.SampleCount&quot;, &quot;Gets or sets the sample count for function calculation.&quot;)&gt;
Public Property SampleCount As Integer</code></pre>
</div>
</div>
