# GrapeCity.ActiveReports.Chart.DataPointsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Chart_DataPointsCollection" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection" class="text-break">DataPointsCollection Class
</h1>
  <div class="markdown level0 summary"><p>DataPoints collection class</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">DataPointsCollection</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><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphItem.html">IGraphItem</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.html">GrapeCity.ActiveReports.Chart</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_DataPointsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(DataPointsCollection.Converter))]
public sealed class DataPointsCollection : CollectionBase, IList, ICollection, IEnumerable, IGraphItem, ICloneable</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="GrapeCity_ActiveReports_Chart_DataPointsCollection__ctor" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.-ctor.html#GrapeCity_ActiveReports_Chart_DataPointsCollection__ctor">DataPointsCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the DataPointsCollection 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="GrapeCity_ActiveReports_Chart_DataPointsCollection_Capacity" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Capacity">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Capacity.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Capacity">Capacity</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of elements that the DataPointsCollection can contain.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Count" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Count">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Count.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements contained in the DataPointsCollection instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Item.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets collection item by given 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="GrapeCity_ActiveReports_Chart_DataPointsCollection_Add_GrapeCity_ActiveReports_Chart_DataPoint_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Add(GrapeCity.ActiveReports.Chart.DataPoint)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Add.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Add_GrapeCity_ActiveReports_Chart_DataPoint_">Add(DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds layer object to the current collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_AddRange_GrapeCity_ActiveReports_Chart_DataPoint___" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddRange(GrapeCity.ActiveReports.Chart.DataPoint[])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddRange.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_AddRange_GrapeCity_ActiveReports_Chart_DataPoint___">AddRange(DataPoint[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a set of layers to the current collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_AddXY_System_Object_System_Double___" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddXY(System.Object,System.Double[])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddXY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_AddXY_System_Object_System_Double___">AddXY(object, params double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a DataPoint with the specified parameters to the DataPointsCollection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_AddY_System_Double___" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddY(System.Double[])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.AddY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_AddY_System_Double___">AddY(params double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a DataPoint with the specified y value to the DataPointsCollection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Clone" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Clone.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a clone of the current collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Contains_GrapeCity_ActiveReports_Chart_DataPoint_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Contains(GrapeCity.ActiveReports.Chart.DataPoint)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Contains.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Contains_GrapeCity_ActiveReports_Chart_DataPoint_">Contains(DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the Collection contains the given <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a></p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_CopyTo_GrapeCity_ActiveReports_Chart_DataPoint___System_Int32_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.CopyTo(GrapeCity.ActiveReports.Chart.DataPoint[],System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.CopyTo.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_CopyTo_GrapeCity_ActiveReports_Chart_DataPoint___System_Int32_">CopyTo(DataPoint[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>TBW</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Collections_IEnumerable_System_Collections_IEnumerable___" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY(System.Collections.IEnumerable,System.Collections.IEnumerable[])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Collections_IEnumerable_System_Collections_IEnumerable___">DataBindXY(IEnumerable, params IEnumerable[])</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the X value and Y values of the collection's DataPoints to the first column(s) of the specified data source(s).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Object_System_String_System_Object_System_String_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY(System.Object,System.String,System.Object,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Object_System_String_System_Object_System_String_">DataBindXY(object, string, object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the X and Y values of the collection's DataPoints to the specified column(s) of the specified data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Object___System_Double_____" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY(System.Object[],System.Double[][])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindXY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindXY_System_Object___System_Double_____">DataBindXY(object[], params double[][])</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the X value and Y values of the collection's DataPoints to a specified data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Collections_IEnumerable___" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY(System.Collections.IEnumerable[])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Collections_IEnumerable___">DataBindY(params IEnumerable[])</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the Y value(s) of the collection's DataPoints to the first column of the specified data source(s).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Double_____" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY(System.Double[][])">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Double_____">DataBindY(params double[][])</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the Y values of the collection's DataPoints to a specified data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Object_System_String_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY(System.Object,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.DataBindY.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_DataBindY_System_Object_System_String_">DataBindY(object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Binds the Y value(s) of the collection's DataPoints to the specified column(s) of the specified data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_IndexOf_GrapeCity_ActiveReports_Chart_DataPoint_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.IndexOf(GrapeCity.ActiveReports.Chart.DataPoint)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.IndexOf.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_IndexOf_GrapeCity_ActiveReports_Chart_DataPoint_">IndexOf(DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the first occurrence of a value in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Insert_System_Int32_GrapeCity_ActiveReports_Chart_DataPoint_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Insert(System.Int32,GrapeCity.ActiveReports.Chart.DataPoint)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Insert.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Insert_System_Int32_GrapeCity_ActiveReports_Chart_DataPoint_">Insert(int, DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an element into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_OnClearComplete" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnClearComplete">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnClearComplete.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnInsertComplete.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.OnRemoveComplete.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Remove_GrapeCity_ActiveReports_Chart_DataPoint_" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Remove(GrapeCity.ActiveReports.Chart.DataPoint)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Remove.html#GrapeCity_ActiveReports_Chart_DataPointsCollection_Remove_GrapeCity_ActiveReports_Chart_DataPoint_">Remove(DataPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_DataPointsCollection_Change" data-uid="GrapeCity.ActiveReports.Chart.DataPointsCollection.Change">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPointsCollection.Change.html">Change</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the collection's content is changed</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
