# C1.Win.C1Chart.Legend.Orientation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Legend_Orientation_" data-uid="C1.Win.C1Chart.Legend.Orientation*">Orientation Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Legend_Orientation_" data-uid="C1.Win.C1Chart.Legend.Orientation*"></a>
<h4 id="C1_Win_C1Chart_Legend_Orientation" data-uid="C1.Win.C1Chart.Legend.Orientation">Orientation</h4>
<div class="markdown level1 summary"><p>Gets or sets the orientation of the legend entries.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LegendOrientationEnum Orientation { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Orientation As LegendOrientationEnum</code></pre>
</div>
<h5 id="C1_Win_C1Chart_Legend_Orientation_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
The legend entries can be oriented in a vertical or horizontal fashion.
</p>
<p>
Vertical orientation indicates that legend entries will stack vertically
as the legend height permits.  If the legend height cannot contain all of
the entries and the legend is allowed to size itself, then additional columns
of stacked entries will be added to the legend.
</p>
<p>
Horizontal orientation indicates that legend entries will be created side by side
as legend width permits.  If the legend width cannot contain all of the entries and
the legend is allowed to size itself, then additional rows of entries will be added to the legend.
</p>
<p>
Auto orientation automatically selects an appropriate orientation based upon
the legend Compass property.  For east and west Compass values, Vertical orientation is used.
 For north and south Compass values, Horizontal orientation is used.
</p>
</div>
<h5 id="C1_Win_C1Chart_Legend_Orientation_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Legend.html">Legend</a></div>
</div>
</div>
