# C1.Win.Sparkline.C1Sparkline

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Sparkline_C1Sparkline" data-uid="C1.Win.Sparkline.C1Sparkline" class="text-break">C1Sparkline Class
</h1>
  <div class="markdown level0 summary"><p>A lightweight chart control which represents the general shape of the data variation.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><span class="xref">C1Sparkline</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Sparkline.html">C1.Win.Sparkline</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Sparkline.4.8.dll</h6>
  <h5 id="C1_Win_Sparkline_C1Sparkline_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1Sparkline), &quot;C1Sparkline.png&quot;)]
public class C1Sparkline : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1Sparkline), &quot;C1Sparkline.png&quot;)&gt;
Public Class C1Sparkline
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline__ctor" data-uid="C1.Win.Sparkline.C1Sparkline.#ctor">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.-ctor.html#C1_Win_Sparkline_C1Sparkline__ctor">C1Sparkline()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Sparkline.C1Sparkline.html">C1Sparkline</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Sparkline_C1Sparkline_Data" data-uid="C1.Win.Sparkline.C1Sparkline.Data">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.Data.html#C1_Win_Sparkline_C1Sparkline_Data">Data</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the corresponding data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_DefaultSize" data-uid="C1.Win.Sparkline.C1Sparkline.DefaultSize">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.DefaultSize.html#C1_Win_Sparkline_C1Sparkline_DefaultSize">DefaultSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default size of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_DisplayXAxis" data-uid="C1.Win.Sparkline.C1Sparkline.DisplayXAxis">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.DisplayXAxis.html#C1_Win_Sparkline_C1Sparkline_DisplayXAxis">DisplayXAxis</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the horizontal axis is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowFirst" data-uid="C1.Win.Sparkline.C1Sparkline.ShowFirst">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowFirst.html#C1_Win_Sparkline_C1Sparkline_ShowFirst">ShowFirst</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the first data point is formatted differently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowHigh" data-uid="C1.Win.Sparkline.C1Sparkline.ShowHigh">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowHigh.html#C1_Win_Sparkline_C1Sparkline_ShowHigh">ShowHigh</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that specifies whether the data points with the highest value are formatted differently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowLast" data-uid="C1.Win.Sparkline.C1Sparkline.ShowLast">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowLast.html#C1_Win_Sparkline_C1Sparkline_ShowLast">ShowLast</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the last data point is formatted differently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowLow" data-uid="C1.Win.Sparkline.C1Sparkline.ShowLow">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowLow.html#C1_Win_Sparkline_C1Sparkline_ShowLow">ShowLow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that specifies whether the data points with the lowest value are formatted differently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowMarkers" data-uid="C1.Win.Sparkline.C1Sparkline.ShowMarkers">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowMarkers.html#C1_Win_Sparkline_C1Sparkline_ShowMarkers">ShowMarkers</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that specifies whether data markers are displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowNegative" data-uid="C1.Win.Sparkline.C1Sparkline.ShowNegative">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowNegative.html#C1_Win_Sparkline_C1Sparkline_ShowNegative">ShowNegative</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that specifies whether the negative data points are formatted differently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_SparklineType" data-uid="C1.Win.Sparkline.C1Sparkline.SparklineType">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.SparklineType.html#C1_Win_Sparkline_C1Sparkline_SparklineType">SparklineType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the sparkline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_Styles" data-uid="C1.Win.Sparkline.C1Sparkline.Styles">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.Styles.html#C1_Win_Sparkline_C1Sparkline_Styles">Styles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the styles of the sparkline.</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_Sparkline_C1Sparkline_Dispose_System_Boolean_" data-uid="C1.Win.Sparkline.C1Sparkline.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.Dispose.html#C1_Win_Sparkline_C1Sparkline_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the unmanaged resources used by the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a> and its child controls and optionally releases the managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="C1.Win.Sparkline.C1Sparkline.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.OnPaint.html#C1_Win_Sparkline_C1Sparkline_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.paint">Paint</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_OnRightToLeftChanged_System_EventArgs_" data-uid="C1.Win.Sparkline.C1Sparkline.OnRightToLeftChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.OnRightToLeftChanged.html#C1_Win_Sparkline_C1Sparkline_OnRightToLeftChanged_System_EventArgs_">OnRightToLeftChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.righttoleftchanged">RightToLeftChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ResetStyles" data-uid="C1.Win.Sparkline.C1Sparkline.ResetStyles">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ResetStyles.html#C1_Win_Sparkline_C1Sparkline_ResetStyles">ResetStyles()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShouldSerializeStyles" data-uid="C1.Win.Sparkline.C1Sparkline.ShouldSerializeStyles">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShouldSerializeStyles.html#C1_Win_Sparkline_C1Sparkline_ShouldSerializeStyles">ShouldSerializeStyles()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Sparkline_C1Sparkline_ShowAboutBox" data-uid="C1.Win.Sparkline.C1Sparkline.ShowAboutBox">
          <a class="xref" href="C1.Win.Sparkline.C1Sparkline.ShowAboutBox.html#C1_Win_Sparkline_C1Sparkline_ShowAboutBox">ShowAboutBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the About Box for an instance of C1Sparkline.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
