# GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Extend

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_Drawing_ISeriesCollection_Extend_" data-uid="GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Extend*">Extend Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_Drawing_ISeriesCollection_Extend_" data-uid="GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Extend*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_ISeriesCollection_Extend_GrapeCity_Documents_Excel_IRange_GrapeCity_Documents_Excel_Drawing_RowCol_System_Boolean_" data-uid="GrapeCity.Documents.Excel.Drawing.ISeriesCollection.Extend(GrapeCity.Documents.Excel.IRange,GrapeCity.Documents.Excel.Drawing.RowCol,System.Boolean)">Extend(IRange, RowCol, bool)</h4>
<div class="markdown level1 summary"><p>Adds new data points to an existing series collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Extend(IRange source, RowCol rowcol, bool categoryLabels)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Extend(source As IRange, rowcol As RowCol, categoryLabels As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.IRange.html">IRange</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The new data to be added to the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ISeriesCollection.html">ISeriesCollection</a> object</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.Drawing.RowCol.html">RowCol</a></td>
      <td><span class="parametername">rowcol</span></td>
      <td><p>Specifies whether the new values are in the rows or columns of the given range source.
Can be one of the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.RowCol.html">RowCol</a> constants: Rows or Columns.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">categoryLabels</span></td>
      <td><p>True to have the first row or column contain the name of the category labels.
False to have the first row or column contain the first data point of the series.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
