# FarPoint.Web.Chart.Chart2DRenderer.Paint

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Chart_Chart2DRenderer_Paint_" data-uid="FarPoint.Web.Chart.Chart2DRenderer.Paint*">Paint Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Chart_Chart2DRenderer_Paint_" data-uid="FarPoint.Web.Chart.Chart2DRenderer.Paint*"></a>
<h4 id="FarPoint_Web_Chart_Chart2DRenderer_Paint_System_Drawing_Graphics_System_Drawing_RectangleF_FarPoint_Web_Chart_ChartModel_" data-uid="FarPoint.Web.Chart.Chart2DRenderer.Paint(System.Drawing.Graphics,System.Drawing.RectangleF,FarPoint.Web.Chart.ChartModel)">Paint(Graphics, RectangleF, ChartModel)</h4>
<div class="markdown level1 summary"><p>Renders a 2D view of a chart model using GDI+ rendering.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Paint(Graphics g, RectangleF rectangle, ChartModel model)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Paint(g As Graphics, rectangle As RectangleF, model As ChartModel)</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><span class="xref">Graphics</span></td>
      <td><span class="parametername">g</span></td>
      <td><p>Graphics context.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td><span class="parametername">rectangle</span></td>
      <td><p>Rectangle to paint in.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">model</span></td>
      <td><p>Chart model to paint.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
