# C1.Web.Mvc.Olap.LegendVisibility

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Olap_LegendVisibility" data-uid="C1.Web.Mvc.Olap.LegendVisibility" class="text-break">LegendVisibility Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies constants that define when the chart legend should be displayed.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Olap.html">C1.Web.Mvc.Olap</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.Olap.dll</h6>
  <h5 id="C1_Web_Mvc_Olap_LegendVisibility_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum LegendVisibility</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum LegendVisibility</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Web_Mvc_Olap_LegendVisibility_Always">Always</td>
        <td><p>Always show the legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_LegendVisibility_Auto">Auto</td>
        <td><p>Show the legend if the chart has more than one series.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_LegendVisibility_Never">Never</td>
        <td><p>Never show the legend.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
