# C1.Win.C1Chart.ChartDataSeriesCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_ChartDataSeriesCollection" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection" class="text-break">ChartDataSeriesCollection Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for C1Chart2DDataSeriesList.</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="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">ChartDataSeriesCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_ChartDataSeriesCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartDataSeriesCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartDataSeriesCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection__ctor" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.#ctor">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.-ctor.html#C1_Win_C1Chart_ChartDataSeriesCollection__ctor">ChartDataSeriesCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.html">ChartDataSeriesCollection</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection__ctor_C1_Win_C1Chart_ChartData_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.#ctor(C1.Win.C1Chart.ChartData)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.-ctor.html#C1_Win_C1Chart_ChartDataSeriesCollection__ctor_C1_Win_C1Chart_ChartData_">ChartDataSeriesCollection(ChartData)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.html">ChartDataSeriesCollection</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_Item_System_Int32_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.Item.html#C1_Win_C1Chart_ChartDataSeriesCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified ChartDataSeries from the collection by numeric index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_C1Chart_ChartDataSeriesCollection_Add_C1_Win_C1Chart_ChartDataSeries_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.Add(C1.Win.C1Chart.ChartDataSeries)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.Add.html#C1_Win_C1Chart_ChartDataSeriesCollection_Add_C1_Win_C1Chart_ChartDataSeries_">Add(ChartDataSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified ChartDataSeries to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_AddNewSeries" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.AddNewSeries">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.AddNewSeries.html#C1_Win_C1Chart_ChartDataSeriesCollection_AddNewSeries">AddNewSeries()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new ChartDataSeries and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_IndexOf_C1_Win_C1Chart_ChartDataSeries_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.IndexOf(C1.Win.C1Chart.ChartDataSeries)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.IndexOf.html#C1_Win_C1Chart_ChartDataSeriesCollection_IndexOf_C1_Win_C1Chart_ChartDataSeries_">IndexOf(ChartDataSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified <a class="xref" href="C1.Win.C1Chart.ChartDataSeries.html">ChartDataSeries</a> and returns the zero-based index of the first occurrence within the entire <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.html">ChartDataSeriesCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_Insert_System_Int32_C1_Win_C1Chart_ChartDataSeries_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.Insert(System.Int32,C1.Win.C1Chart.ChartDataSeries)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.Insert.html#C1_Win_C1Chart_ChartDataSeriesCollection_Insert_System_Int32_C1_Win_C1Chart_ChartDataSeries_">Insert(int, ChartDataSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the specified ChartDataSeries in the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_InsertNewSeries_System_Int32_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.InsertNewSeries(System.Int32)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.InsertNewSeries.html#C1_Win_C1Chart_ChartDataSeriesCollection_InsertNewSeries_System_Int32_">InsertNewSeries(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new ChartDataSeries and inserts it into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_OnClear" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.OnClear">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.OnClear.html#C1_Win_C1Chart_ChartDataSeriesCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_OnClearComplete" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.OnClearComplete">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.OnClearComplete.html#C1_Win_C1Chart_ChartDataSeriesCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_OnInsert_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.OnInsert.html#C1_Win_C1Chart_ChartDataSeriesCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called whenever a series is added to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.OnInsertComplete.html#C1_Win_C1Chart_ChartDataSeriesCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.OnRemoveComplete.html#C1_Win_C1Chart_ChartDataSeriesCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_Remove_C1_Win_C1Chart_ChartDataSeries_" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.Remove(C1.Win.C1Chart.ChartDataSeries)">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.Remove.html#C1_Win_C1Chart_ChartDataSeriesCollection_Remove_C1_Win_C1Chart_ChartDataSeries_">Remove(ChartDataSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified ChartDataSeries from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_ChartDataSeriesCollection_RemoveAll" data-uid="C1.Win.C1Chart.ChartDataSeriesCollection.RemoveAll">
          <a class="xref" href="C1.Win.C1Chart.ChartDataSeriesCollection.RemoveAll.html#C1_Win_C1Chart_ChartDataSeriesCollection_RemoveAll">RemoveAll()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all series from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
