# FarPoint.Web.Spread.WinLossSparklineRenderer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_WinLossSparklineRenderer" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer" class="text-break">WinLossSparklineRenderer Class
</h1>
  <div class="markdown level0 summary"><p>Represents the renderer of the win/loss sparklines.</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="FarPoint.Web.Spread.ExcelBaseSparkLineRenderer.html">ExcelBaseSparkLineRenderer</a></div>
    <div class="level2"><span class="xref">WinLossSparklineRenderer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.ISparklineRenderer.html">ISparklineRenderer</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_WinLossSparklineRenderer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WinLossSparklineRenderer : ExcelBaseSparkLineRenderer, ISparklineRenderer, ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WinLossSparklineRenderer
    Inherits ExcelBaseSparkLineRenderer
    Implements ISparklineRenderer, ISerializable, ISerializeSupport</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="FarPoint_Web_Spread_WinLossSparklineRenderer__ctor" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.-ctor.html#FarPoint_Web_Spread_WinLossSparklineRenderer__ctor">WinLossSparklineRenderer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.html">WinLossSparklineRenderer</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WinLossSparklineRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.-ctor.html#FarPoint_Web_Spread_WinLossSparklineRenderer__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">WinLossSparklineRenderer(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.html">WinLossSparklineRenderer</a> class.</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="FarPoint_Web_Spread_WinLossSparklineRenderer_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.Deserialize.html#FarPoint_Web_Spread_WinLossSparklineRenderer_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WinLossSparklineRenderer_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.GetObjectData.html#FarPoint_Web_Spread_WinLossSparklineRenderer_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a> with the data needed to serialize the target object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WinLossSparklineRenderer_PaintSparkline_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Web_Spread_Sparkline_" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.PaintSparkline(System.Drawing.Graphics,System.Drawing.Rectangle,FarPoint.Web.Spread.Sparkline)">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.PaintSparkline.html#FarPoint_Web_Spread_WinLossSparklineRenderer_PaintSparkline_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Web_Spread_Sparkline_">PaintSparkline(Graphics, Rectangle, Sparkline)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the sparkline.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WinLossSparklineRenderer_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.WinLossSparklineRenderer.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.WinLossSparklineRenderer.Serialize.html#FarPoint_Web_Spread_WinLossSparklineRenderer_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
