# FarPoint.Win.Spread.SheetView.AddSquareSparkline

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_AddSquareSparkline_" data-uid="FarPoint.Win.Spread.SheetView.AddSquareSparkline*">AddSquareSparkline Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_AddSquareSparkline_" data-uid="FarPoint.Win.Spread.SheetView.AddSquareSparkline*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_AddSquareSparkline_FarPoint_Win_Spread_Chart_SheetCellRange_FarPoint_Win_Spread_Model_CellRange_FarPoint_Win_Spread_SparklineType_FarPoint_Win_Spread_ExcelSparklineSetting_System_Boolean_" data-uid="FarPoint.Win.Spread.SheetView.AddSquareSparkline(FarPoint.Win.Spread.Chart.SheetCellRange,FarPoint.Win.Spread.Model.CellRange,FarPoint.Win.Spread.SparklineType,FarPoint.Win.Spread.ExcelSparklineSetting,System.Boolean)">AddSquareSparkline(SheetCellRange, CellRange, SparklineType, ExcelSparklineSetting, bool)</h4>
<div class="markdown level1 summary"><p>Adds the sparkline.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExcelSparklineGroup AddSquareSparkline(SheetCellRange data, CellRange location, SparklineType type, ExcelSparklineSetting setting, bool isColumn)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddSquareSparkline(data As SheetCellRange, location As CellRange, type As SparklineType, setting As ExcelSparklineSetting, isColumn As Boolean) As ExcelSparklineGroup</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="FarPoint.Win.Spread.Chart.SheetCellRange.html">SheetCellRange</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>Data</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.CellRange.html">CellRange</a></td>
      <td><span class="parametername">location</span></td>
      <td><p>Location of sparkline</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.SparklineType.html">SparklineType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of sparkline</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ExcelSparklineSetting.html">ExcelSparklineSetting</a></td>
      <td><span class="parametername">setting</span></td>
      <td><p>Setting</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isColumn</span></td>
      <td><p>If set to <code>true</code> [is column]</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ExcelSparklineGroup.html">ExcelSparklineGroup</a></td>
      <td><p>The new created instance of the sparkline group.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
