# C1.Win.FlexReport.Chart.ChartLabelsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_Chart_ChartLabelsCollection" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection" class="text-break">ChartLabelsCollection Class
</h1>
  <div class="markdown level0 summary"><p>Contains all chart labels defined for a particular chart.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.FlexReport.Chart.ChartObjectCollection-1.html">ChartObjectCollection</a>&lt;<a class="xref" href="C1.Win.FlexReport.Chart.ChartLabel.html">ChartLabel</a>&gt;</div>
    <div class="level2"><span class="xref">ChartLabelsCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Win.FlexReport.Chart.ChartLabel.html">ChartLabel</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Win.FlexReport.Chart.ChartLabel.html">ChartLabel</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><span class="xref">IC1SerializableCollection</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexReport.Chart.html">C1.Win.FlexReport.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexReport.4.8.dll</h6>
  <h5 id="C1_Win_FlexReport_Chart_ChartLabelsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartLabelsCollection : ChartObjectCollection&lt;ChartLabel&gt;, ICollection&lt;ChartLabel&gt;, IEnumerable&lt;ChartLabel&gt;, IList, ICollection, IEnumerable, IC1SerializableCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartLabelsCollection
    Inherits ChartObjectCollection(Of ChartLabel)
    Implements ICollection(Of ChartLabel), IEnumerable(Of ChartLabel), IList, ICollection, IEnumerable, IC1SerializableCollection</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLabelsCollection_Add_C1_Win_FlexReport_Chart_ChartLabel_" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection.Add(C1.Win.FlexReport.Chart.ChartLabel)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLabelsCollection.Add.html#C1_Win_FlexReport_Chart_ChartLabelsCollection_Add_C1_Win_FlexReport_Chart_ChartLabel_">Add(ChartLabel)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an existing chart label to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLabelsCollection_AddNewLabel" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection.AddNewLabel">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLabelsCollection.AddNewLabel.html#C1_Win_FlexReport_Chart_ChartLabelsCollection_AddNewLabel">AddNewLabel()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new chart label to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLabelsCollection_Clear" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection.Clear">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLabelsCollection.Clear.html#C1_Win_FlexReport_Chart_ChartLabelsCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Remove all items from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLabelsCollection_Remove_C1_Win_FlexReport_Chart_ChartLabel_" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection.Remove(C1.Win.FlexReport.Chart.ChartLabel)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLabelsCollection.Remove.html#C1_Win_FlexReport_Chart_ChartLabelsCollection_Remove_C1_Win_FlexReport_Chart_ChartLabel_">Remove(ChartLabel)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an existing chart label from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLabelsCollection_RemoveAt_System_Int32_" data-uid="C1.Win.FlexReport.Chart.ChartLabelsCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLabelsCollection.RemoveAt.html#C1_Win_FlexReport_Chart_ChartLabelsCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the chart label at the specific index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
