# GrapeCity.Documents.Excel.ISparklineGroups.Group

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_ISparklineGroups_Group_" data-uid="GrapeCity.Documents.Excel.ISparklineGroups.Group*">Group Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_ISparklineGroups_Group_" data-uid="GrapeCity.Documents.Excel.ISparklineGroups.Group*"></a>
<h4 id="GrapeCity_Documents_Excel_ISparklineGroups_Group_GrapeCity_Documents_Excel_IRange_" data-uid="GrapeCity.Documents.Excel.ISparklineGroups.Group(GrapeCity.Documents.Excel.IRange)">Group(IRange)</h4>
<div class="markdown level1 summary"><p>Groups the selected sparklines.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Group(IRange Location = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Group(Optional Location As IRange = Nothing)</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">Location</span></td>
      <td><p>The range the sparkline group is based on. If it is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> (<code>Nothing</code> in Visual Basic), it is based on the first sparkline in groups.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
