# C1.WPF.Chart.Extended.DiscreteColorScale.Interval

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Extended_DiscreteColorScale_Interval" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval" class="text-break">DiscreteColorScale.Interval Class
</h1>
  <div class="markdown level0 summary"><p>Represents an interval for discrete color scale.</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">DiscreteColorScale.Interval</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IInterval</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.Extended.html">C1.WPF.Chart.Extended</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexChart.Extended.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_Extended_DiscreteColorScale_Interval_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DiscreteColorScale.Interval : DiscreteColorScaleBase.IInterval</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DiscreteColorScale.Interval
    Implements DiscreteColorScaleBase.IInterval</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="C1_WPF_Chart_Extended_DiscreteColorScale_Interval__ctor_System_Double_System_Double_System_Windows_Media_Color_System_String_" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.#ctor(System.Double,System.Double,System.Windows.Media.Color,System.String)">
          <a class="xref" href="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.-ctor.html#C1_WPF_Chart_Extended_DiscreteColorScale_Interval__ctor_System_Double_System_Double_System_Windows_Media_Color_System_String_">Interval(double, double, Color, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of Interval class.</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="C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Color" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Color">
          <a class="xref" href="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Color.html#C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set the color of the interval.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Max" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Max">
          <a class="xref" href="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Max.html#C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum of the interval.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Min" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Min">
          <a class="xref" href="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Min.html#C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum of the interval.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Name" data-uid="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Name">
          <a class="xref" href="C1.WPF.Chart.Extended.DiscreteColorScale.Interval.Name.html#C1_WPF_Chart_Extended_DiscreteColorScale_Interval_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the interval. The name is displayed in the chart legend.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
