# C1.Win.FlexReport.Chart.ChartLegend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_Chart_ChartLegend" data-uid="C1.Win.FlexReport.Chart.ChartLegend" class="text-break">ChartLegend Class
</h1>
  <div class="markdown level0 summary"><p>Represents the legend of a chart.</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="C1.Win.FlexReport.Chart.ChartObject.html">ChartObject</a></div>
    <div class="level2"><a class="xref" href="C1.Win.FlexReport.Chart.ChartRect.html">ChartRect</a></div>
    <div class="level3"><span class="xref">ChartLegend</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><span class="xref">IC1Serializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexReport.Chart.html">C1.Win.FlexReport.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexReport.4.8.dll</h6>
  <h5 id="C1_Win_FlexReport_Chart_ChartLegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartLegend : ChartRect, INotifyPropertyChanged, IC1Serializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartLegend
    Inherits ChartRect
    Implements INotifyPropertyChanged, IC1Serializable</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_Win_FlexReport_Chart_ChartLegend_Compass" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Compass">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Compass.html#C1_Win_FlexReport_Chart_ChartLegend_Compass">Compass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the general positioning of the legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Legend2DReversed" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Legend2DReversed">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Legend2DReversed.html#C1_Win_FlexReport_Chart_ChartLegend_Legend2DReversed">Legend2DReversed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the order of the ChartGroups2D in the legend of a 2D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Legend3DFormatString" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Legend3DFormatString">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Legend3DFormatString.html#C1_Win_FlexReport_Chart_ChartLegend_Legend3DFormatString">Legend3DFormatString</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the 3D chart legend format string for numerical values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Legend3DSeparator" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Legend3DSeparator">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Legend3DSeparator.html#C1_Win_FlexReport_Chart_ChartLegend_Legend3DSeparator">Legend3DSeparator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the separator between range values of a stepped legend of a 3D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Legend3DType" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Legend3DType">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Legend3DType.html#C1_Win_FlexReport_Chart_ChartLegend_Legend3DType">Legend3DType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of a 3D chart legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Orientation" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Orientation">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Orientation.html#C1_Win_FlexReport_Chart_ChartLegend_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation of the legend entries.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Style" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Style">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Style.html#C1_Win_FlexReport_Chart_ChartLegend_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the legend style.
Inherits from the ChartField default style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartLegend_Text" data-uid="C1.Win.FlexReport.Chart.ChartLegend.Text">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.Text.html#C1_Win_FlexReport_Chart_ChartLegend_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the legend text.</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="C1_Win_FlexReport_Chart_ChartLegend_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_" data-uid="C1.Win.FlexReport.Chart.ChartLegend.AssignFrom(C1.Win.FlexReport.Chart.ChartObject)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartLegend.AssignFrom.html#C1_Win_FlexReport_Chart_ChartLegend_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_">AssignFrom(ChartObject)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.
Assigns (copies) properties from another <a class="xref" href="C1.Win.FlexReport.Chart.ChartObject.html">ChartObject</a> to the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
