# C1.WPF.C1Chart.ChartView.Margin

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1Chart_ChartView_Margin_" data-uid="C1.WPF.C1Chart.ChartView.Margin*">Margin Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1Chart_ChartView_Margin_" data-uid="C1.WPF.C1Chart.ChartView.Margin*"></a>
<h4 id="C1_WPF_C1Chart_ChartView_Margin" data-uid="C1.WPF.C1Chart.ChartView.Margin">Margin</h4>
<div class="markdown level1 summary"><p>Gets or sets the margin of the plot area from the control edges.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Thickness Margin { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Margin As Thickness</code></pre>
</div>
<h5 id="C1_WPF_C1Chart_ChartView_Margin_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default the margin is calculated automatically to provide
enough space for axes. Set this property if the plot area
should be placed at the fixed position on the control surface.
For example when several charts should have their plot areas
arranged vertically or horizontally.</p>
</div>
</div>
