# C1.WPF.Chart.DiscreteColorScale

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_DiscreteColorScale" data-uid="C1.WPF.Chart.DiscreteColorScale" class="text-break">DiscreteColorScale Class
</h1>
  <div class="markdown level0 summary"><p>Repsesents descrete 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</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.html">C1.WPF.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Chart.dll</h6>
  <h5 id="C1_WPF_Chart_DiscreteColorScale_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DiscreteColorScale : DiscreteColorScaleBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DiscreteColorScale
    Inherits DiscreteColorScaleBase</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_DiscreteColorScale__ctor" data-uid="C1.WPF.Chart.DiscreteColorScale.#ctor">
          <a class="xref" href="C1.WPF.Chart.DiscreteColorScale.-ctor.html#C1_WPF_Chart_DiscreteColorScale__ctor">DiscreteColorScale()</a>
        </td>
        <td class="markdown level1 summary"></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_DiscreteColorScale_Intervals" data-uid="C1.WPF.Chart.DiscreteColorScale.Intervals">
          <a class="xref" href="C1.WPF.Chart.DiscreteColorScale.Intervals.html#C1_WPF_Chart_DiscreteColorScale_Intervals">Intervals</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of intervals defining the discrete color scale.</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_WPF_Chart_DiscreteColorScale_GetIntervals" data-uid="C1.WPF.Chart.DiscreteColorScale.GetIntervals">
          <a class="xref" href="C1.WPF.Chart.DiscreteColorScale.GetIntervals.html#C1_WPF_Chart_DiscreteColorScale_GetIntervals">GetIntervals()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the interals list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
