# C1.WPF.FlexGrid.C1FlexSheet.InsertSparkLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexSheet_InsertSparkLine_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.InsertSparkLine*">InsertSparkLine Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexSheet_InsertSparkLine_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.InsertSparkLine*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexSheet_InsertSparkLine_C1_WPF_FlexGrid_SparkLineType_System_Collections_Generic_IEnumerable_System_Double__C1_WPF_FlexGrid_Sheet_C1_WPF_FlexGrid_CellRange_" data-uid="C1.WPF.FlexGrid.C1FlexSheet.InsertSparkLine(C1.WPF.FlexGrid.SparkLineType,System.Collections.Generic.IEnumerable{System.Double},C1.WPF.FlexGrid.Sheet,C1.WPF.FlexGrid.CellRange)">InsertSparkLine(SparkLineType, IEnumerable&lt;double&gt;, Sheet, CellRange)</h4>
<div class="markdown level1 summary"><p>Insert SparkLine to C1FlexSheet</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void InsertSparkLine(SparkLineType type, IEnumerable&lt;double&gt; datas, Sheet sheet, CellRange cell)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub InsertSparkLine(type As SparkLineType, datas As IEnumerable(Of Double), sheet As Sheet, cell As CellRange)</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="C1.WPF.FlexGrid.SparkLineType.html">SparkLineType</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>&gt;</td>
      <td><span class="parametername">datas</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.FlexGrid.Sheet.html">Sheet</a></td>
      <td><span class="parametername">sheet</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="../C1.WPF.FlexGrid.4.6.2/C1.WPF.FlexGrid.CellRange.html">CellRange</a></td>
      <td><span class="parametername">cell</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
