# FarPoint.Win.Chart.FpChart.Render

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Chart_FpChart_Render_" data-uid="FarPoint.Win.Chart.FpChart.Render*">Render Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Chart_FpChart_Render_" data-uid="FarPoint.Win.Chart.FpChart.Render*"></a>
<h4 id="FarPoint_Win_Chart_FpChart_Render_System_Drawing_Graphics_FarPoint_Win_Chart_ChartModel_System_Drawing_Rectangle_System_Boolean_" data-uid="FarPoint.Win.Chart.FpChart.Render(System.Drawing.Graphics,FarPoint.Win.Chart.ChartModel,System.Drawing.Rectangle,System.Boolean)">Render(Graphics, ChartModel, Rectangle, bool)</h4>
<div class="markdown level1 summary"><p>Renders the chart to a graphic.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Render(Graphics g, ChartModel model, Rectangle r, bool drawSelection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Render(g As Graphics, model As ChartModel, r As Rectangle, drawSelection As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>A Graphics object that is associated with a specific device context.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">model</span></td>
      <td><p>A ChartModel object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>Specifies the location and size.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">drawSelection</span></td>
      <td><p>Specifies whether selection is rendered or not.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
