# FarPoint.Web.Chart.BarSeriesCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Chart_BarSeriesCollection" data-uid="FarPoint.Web.Chart.BarSeriesCollection" class="text-break">BarSeriesCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of series.</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"><span class="xref">BarSeriesCollection</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.generic.ilist-1">IList</a>&lt;<a class="xref" href="FarPoint.Web.Chart.Series.html">Series</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="FarPoint.Web.Chart.Series.html">Series</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="FarPoint.Web.Chart.Series.html">Series</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="FarPoint.Web.Chart.BarSeries.html">BarSeries</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="FarPoint.Web.Chart.BarSeries.html">BarSeries</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="FarPoint.Web.Chart.BarSeries.html">BarSeries</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.serialization.ixmlserializable">IXmlSerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Chart.html">FarPoint.Web.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Chart.dll</h6>
  <h5 id="FarPoint_Web_Chart_BarSeriesCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BarSeriesCollection : IList, ICollection, IList&lt;Series&gt;, ICollection&lt;Series&gt;, IEnumerable&lt;Series&gt;, IList&lt;BarSeries&gt;, ICollection&lt;BarSeries&gt;, IEnumerable&lt;BarSeries&gt;, IEnumerable, IXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BarSeriesCollection
    Implements IList, ICollection, IList(Of Series), ICollection(Of Series), IEnumerable(Of Series), IList(Of BarSeries), ICollection(Of BarSeries), IEnumerable(Of BarSeries), IEnumerable, IXmlSerializable</code></pre>
  </div>
  <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="FarPoint_Web_Chart_BarSeriesCollection_Count" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Count">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Count.html#FarPoint_Web_Chart_BarSeriesCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of series in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_Item_System_Int32_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Item.html#FarPoint_Web_Chart_BarSeriesCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the series at the specified 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="FarPoint_Web_Chart_BarSeriesCollection_Add_FarPoint_Web_Chart_BarSeries_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Add(FarPoint.Web.Chart.BarSeries)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Add.html#FarPoint_Web_Chart_BarSeriesCollection_Add_FarPoint_Web_Chart_BarSeries_">Add(BarSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a series to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_AddRange_FarPoint_Web_Chart_BarSeries___" data-uid="FarPoint.Web.Chart.BarSeriesCollection.AddRange(FarPoint.Web.Chart.BarSeries[])">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.AddRange.html#FarPoint_Web_Chart_BarSeriesCollection_AddRange_FarPoint_Web_Chart_BarSeries___">AddRange(BarSeries[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of series to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_Clear" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Clear">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Clear.html#FarPoint_Web_Chart_BarSeriesCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all series from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_Contains_FarPoint_Web_Chart_BarSeries_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Contains(FarPoint.Web.Chart.BarSeries)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Contains.html#FarPoint_Web_Chart_BarSeriesCollection_Contains_FarPoint_Web_Chart_BarSeries_">Contains(BarSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific series.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_CopyTo_FarPoint_Web_Chart_BarSeries___System_Int32_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.CopyTo(FarPoint.Web.Chart.BarSeries[],System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.CopyTo.html#FarPoint_Web_Chart_BarSeriesCollection_CopyTo_FarPoint_Web_Chart_BarSeries___System_Int32_">CopyTo(BarSeries[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the series in the collection to an array,
starting at the specified array index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_GetEnumerator" data-uid="FarPoint.Web.Chart.BarSeriesCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.GetEnumerator.html#FarPoint_Web_Chart_BarSeriesCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator that iterates through the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_GetSchema" data-uid="FarPoint.Web.Chart.BarSeriesCollection.GetSchema">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.GetSchema.html#FarPoint_Web_Chart_BarSeriesCollection_GetSchema">GetSchema()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is reserved and should not be used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_IndexOf_FarPoint_Web_Chart_BarSeries_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.IndexOf(FarPoint.Web.Chart.BarSeries)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.IndexOf.html#FarPoint_Web_Chart_BarSeriesCollection_IndexOf_FarPoint_Web_Chart_BarSeries_">IndexOf(BarSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of the series in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_Insert_System_Int32_FarPoint_Web_Chart_BarSeries_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Insert(System.Int32,FarPoint.Web.Chart.BarSeries)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Insert.html#FarPoint_Web_Chart_BarSeriesCollection_Insert_System_Int32_FarPoint_Web_Chart_BarSeries_">Insert(int, BarSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a series into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_InsertRange_System_Int32_FarPoint_Web_Chart_BarSeries___" data-uid="FarPoint.Web.Chart.BarSeriesCollection.InsertRange(System.Int32,FarPoint.Web.Chart.BarSeries[])">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.InsertRange.html#FarPoint_Web_Chart_BarSeriesCollection_InsertRange_System_Int32_FarPoint_Web_Chart_BarSeries___">InsertRange(int, BarSeries[])</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an array of series into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_OnChanged_System_EventArgs_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.OnChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.OnChanged.html#FarPoint_Web_Chart_BarSeriesCollection_OnChanged_System_EventArgs_">OnChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_ReadXml_System_Xml_XmlReader_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.ReadXml.html#FarPoint_Web_Chart_BarSeriesCollection_ReadXml_System_Xml_XmlReader_">ReadXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates an object from its XML representation.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_Remove_FarPoint_Web_Chart_BarSeries_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Remove(FarPoint.Web.Chart.BarSeries)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Remove.html#FarPoint_Web_Chart_BarSeriesCollection_Remove_FarPoint_Web_Chart_BarSeries_">Remove(BarSeries)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified series from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.RemoveAt.html#FarPoint_Web_Chart_BarSeriesCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the series at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_BarSeriesCollection_WriteXml_System_Xml_XmlWriter_" data-uid="FarPoint.Web.Chart.BarSeriesCollection.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.WriteXml.html#FarPoint_Web_Chart_BarSeriesCollection_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an object into its XML representation.</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="FarPoint_Web_Chart_BarSeriesCollection_Changed" data-uid="FarPoint.Web.Chart.BarSeriesCollection.Changed">
          <a class="xref" href="FarPoint.Web.Chart.BarSeriesCollection.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the collection is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
