# C1.Win.C1Chart.ChartDataArray.Length

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_ChartDataArray_Length_" data-uid="C1.Win.C1Chart.ChartDataArray.Length*">Length Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_ChartDataArray_Length_" data-uid="C1.Win.C1Chart.ChartDataArray.Length*"></a>
<h4 id="C1_Win_C1Chart_ChartDataArray_Length" data-uid="C1.Win.C1Chart.ChartDataArray.Length">Length</h4>
<div class="markdown level1 summary"><p>Gets or sets the length of the data array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Length { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Length As Integer</code></pre>
</div>
<h5 id="C1_Win_C1Chart_ChartDataArray_Length_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When extending the existing length of the array, the newly created
elements are filled with data hole values.  When reducing the length
of the array, truncated elements are thrown away.  Note that it may be
necessary to increase the length of an array before setting its values
with the Item property.</p>
</div>
</div>
