# C1.Win.FlexReport.Chart.ChartAlarmZonesCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_Chart_ChartAlarmZonesCollection" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection" class="text-break">ChartAlarmZonesCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection which stores bands or shapes for plotting.</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.ChartAlarmZone.html">ChartAlarmZone</a>&gt;</div>
    <div class="level2"><span class="xref">ChartAlarmZonesCollection</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.ChartAlarmZone.html">ChartAlarmZone</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.ChartAlarmZone.html">ChartAlarmZone</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_ChartAlarmZonesCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartAlarmZonesCollection : ChartObjectCollection&lt;ChartAlarmZone&gt;, ICollection&lt;ChartAlarmZone&gt;, IEnumerable&lt;ChartAlarmZone&gt;, IList, ICollection, IEnumerable, IC1SerializableCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartAlarmZonesCollection
    Inherits ChartObjectCollection(Of ChartAlarmZone)
    Implements ICollection(Of ChartAlarmZone), IEnumerable(Of ChartAlarmZone), IList, ICollection, IEnumerable, IC1SerializableCollection</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="C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_Item_System_String_" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Item(System.String)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Item.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element by name.</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_FlexReport_Chart_ChartAlarmZonesCollection_Add_C1_Win_FlexReport_Chart_ChartAlarmZone_" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Add(C1.Win.FlexReport.Chart.ChartAlarmZone)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Add.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_Add_C1_Win_FlexReport_Chart_ChartAlarmZone_">Add(ChartAlarmZone)</a>
        </td>
        <td class="markdown level1 summary"><p>Add an existing alarm zone into the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_AddNewAlarmZone" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.AddNewAlarmZone">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.AddNewAlarmZone.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_AddNewAlarmZone">AddNewAlarmZone()</a>
        </td>
        <td class="markdown level1 summary"><p>Add a new alarm zone into the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_Clear" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Clear">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Clear.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_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_ChartAlarmZonesCollection_Remove_C1_Win_FlexReport_Chart_ChartAlarmZone_" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Remove(C1.Win.FlexReport.Chart.ChartAlarmZone)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.Remove.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_Remove_C1_Win_FlexReport_Chart_ChartAlarmZone_">Remove(ChartAlarmZone)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove an existing alarm zone from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_RemoveAt_System_Int32_" data-uid="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartAlarmZonesCollection.RemoveAt.html#C1_Win_FlexReport_Chart_ChartAlarmZonesCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove the alarm zone at the specific index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
