# GrapeCity.ActiveReports.Chart.Legend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Chart_Legend" data-uid="GrapeCity.ActiveReports.Chart.Legend" class="text-break">Legend Class
</h1>
  <div class="markdown level0 summary"><p>Legend class</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"><a class="xref" href="GrapeCity.ActiveReports.Chart.Item.html">Item</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Chart.DrawCustomizableItem.html">DrawCustomizableItem</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Chart.DrawCustomizableComponent.html">DrawCustomizableComponent</a></div>
    <div class="level4"><span class="xref">Legend</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphItem.html">IGraphItem</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphXmlSerializable.html">IGraphXmlSerializable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.ICustomDrawer.html">ICustomDrawer</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.INamedComponent.html">INamedComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.html">GrapeCity.ActiveReports.Chart</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_Legend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof())]
public sealed class Legend : DrawCustomizableComponent, IGraphItem, ICloneable, IGraphXmlSerializable, ICustomDrawer, INamedComponent, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend__ctor" data-uid="GrapeCity.ActiveReports.Chart.Legend.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.-ctor.html#GrapeCity_ActiveReports_Chart_Legend__ctor">Legend()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the LegendItem object with the default properties set</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.Legend.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.-ctor.html#GrapeCity_ActiveReports_Chart_Legend__ctor_System_String_">Legend(string)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.Legend.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.-ctor.html#GrapeCity_ActiveReports_Chart_Legend__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_">Legend(string, GraphXmlSerializationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_ActiveReports_Chart_Legend_Alignment" data-uid="GrapeCity.ActiveReports.Chart.Legend.Alignment">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Alignment.html#GrapeCity_ActiveReports_Chart_Legend_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets floating legend alignment within chart area</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Backdrop" data-uid="GrapeCity.ActiveReports.Chart.Legend.Backdrop">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Backdrop.html#GrapeCity_ActiveReports_Chart_Legend_Backdrop">Backdrop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets backdrop info to fill legend box</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Border" data-uid="GrapeCity.ActiveReports.Chart.Legend.Border">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Border.html#GrapeCity_ActiveReports_Chart_Legend_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets border info to outline legend box</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_CustomBorderDrawer" data-uid="GrapeCity.ActiveReports.Chart.Legend.CustomBorderDrawer">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.CustomBorderDrawer.html#GrapeCity_ActiveReports_Chart_Legend_CustomBorderDrawer">CustomBorderDrawer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets custom-draw object</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_DockArea" data-uid="GrapeCity.ActiveReports.Chart.Legend.DockArea">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.DockArea.html#GrapeCity_ActiveReports_Chart_Legend_DockArea">DockArea</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the chart area to which the legend is docked.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_DockInsideArea" data-uid="GrapeCity.ActiveReports.Chart.Legend.DockInsideArea">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.DockInsideArea.html#GrapeCity_ActiveReports_Chart_Legend_DockInsideArea">DockInsideArea</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether legend will be docked inside containing area</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Footer" data-uid="GrapeCity.ActiveReports.Chart.Legend.Footer">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Footer.html#GrapeCity_ActiveReports_Chart_Legend_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets legend footer</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_GridLayout" data-uid="GrapeCity.ActiveReports.Chart.Legend.GridLayout">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.GridLayout.html#GrapeCity_ActiveReports_Chart_Legend_GridLayout">GridLayout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the grid layout for the Legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Header" data-uid="GrapeCity.ActiveReports.Chart.Legend.Header">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Header.html#GrapeCity_ActiveReports_Chart_Legend_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets legend title</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_LabelsFont" data-uid="GrapeCity.ActiveReports.Chart.Legend.LabelsFont">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.LabelsFont.html#GrapeCity_ActiveReports_Chart_Legend_LabelsFont">LabelsFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets font to draw labels</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_LegendItems" data-uid="GrapeCity.ActiveReports.Chart.Legend.LegendItems">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.LegendItems.html#GrapeCity_ActiveReports_Chart_Legend_LegendItems">LegendItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets custom legend items collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_MarginX" data-uid="GrapeCity.ActiveReports.Chart.Legend.MarginX">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.MarginX.html#GrapeCity_ActiveReports_Chart_Legend_MarginX">MarginX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets floating legend horizontal margin</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_MarginY" data-uid="GrapeCity.ActiveReports.Chart.Legend.MarginY">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.MarginY.html#GrapeCity_ActiveReports_Chart_Legend_MarginY">MarginY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets floating legend vertical margin</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Visible" data-uid="GrapeCity.ActiveReports.Chart.Legend.Visible">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Visible.html#GrapeCity_ActiveReports_Chart_Legend_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets legend visibility</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Legend_Clone" data-uid="GrapeCity.ActiveReports.Chart.Legend.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Legend.Clone.html#GrapeCity_ActiveReports_Chart_Legend_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><pre><code>        This member overrides 
</code></pre>
<pre><code class="lang-csharp">Item.Clone</code></pre>
</td>
      </tr>
    </tbody>
  </table>

</div>
