# C1.Web.Mvc.ChartLegend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_ChartLegend" data-uid="C1.Web.Mvc.ChartLegend" class="text-break">ChartLegend Class
</h1>
  <div class="markdown level0 summary"><p>Represents the chart legend.</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"><span class="xref">ChartLegend</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_ChartLegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartLegend</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartLegend</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_MaxSize" data-uid="C1.Web.Mvc.ChartLegend.MaxSize">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.MaxSize.html#C1_Web_Mvc_ChartLegend_MaxSize">MaxSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum legend size (width for left or right position and height for top or bottom position).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_Orientation" data-uid="C1.Web.Mvc.ChartLegend.Orientation">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.Orientation.html#C1_Web_Mvc_ChartLegend_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines the orientation of the legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_Position" data-uid="C1.Web.Mvc.ChartLegend.Position">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.Position.html#C1_Web_Mvc_ChartLegend_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the enumerated value that determines whether and where the legend appears in relation to the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_Reverse" data-uid="C1.Web.Mvc.ChartLegend.Reverse">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.Reverse.html#C1_Web_Mvc_ChartLegend_Reverse">Reverse</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the legend would be shown in reverse order or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_Scrollbar" data-uid="C1.Web.Mvc.ChartLegend.Scrollbar">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.Scrollbar.html#C1_Web_Mvc_ChartLegend_Scrollbar">Scrollbar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the scrollbar should be used for a long legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_Title" data-uid="C1.Web.Mvc.ChartLegend.Title">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.Title.html#C1_Web_Mvc_ChartLegend_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines the title of the legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ChartLegend_TitleAlign" data-uid="C1.Web.Mvc.ChartLegend.TitleAlign">
          <a class="xref" href="C1.Web.Mvc.ChartLegend.TitleAlign.html#C1_Web_Mvc_ChartLegend_TitleAlign">TitleAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines the align value of the legend.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
