# C1.Web.Mvc.Fluent.ColorScaleBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_ColorScaleBuilder" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder" class="text-break">ColorScaleBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.ColorScale.html">ColorScale</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ColorScale.html">ColorScale</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.html">ColorScaleBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">ColorScaleBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_ColorScaleBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorScaleBuilder : BaseBuilder&lt;ColorScale, ColorScaleBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ColorScaleBuilder
    Inherits BaseBuilder(Of ColorScale, ColorScaleBuilder)</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_Web_Mvc_Fluent_ColorScaleBuilder__ctor_C1_Web_Mvc_ColorScale_" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.#ctor(C1.Web.Mvc.ColorScale)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.-ctor.html#C1_Web_Mvc_Fluent_ColorScaleBuilder__ctor_C1_Web_Mvc_ColorScale_">ColorScaleBuilder(ColorScale)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.html">ColorScaleBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_Web_Mvc_Fluent_ColorScaleBuilder_Binding_System_String_" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.Binding(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.Binding.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_Binding_System_String_">Binding(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.Binding.html#C1_Web_Mvc_ColorScale_Binding">Binding</a>.
Sets the binding property or function.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorScaleBuilder_ColorUnknown_System_String_" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.ColorUnknown(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.ColorUnknown.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_ColorUnknown_System_String_">ColorUnknown(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.ColorUnknown.html#C1_Web_Mvc_ColorScale_ColorUnknown">ColorUnknown</a>.
Get or sets the color for undefined values (NaN or undefined).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorScaleBuilder_Colors_System_Collections_Generic_IEnumerable_System_Drawing_Color__" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.Colors(System.Collections.Generic.IEnumerable{System.Drawing.Color})">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.Colors.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_Colors_System_Collections_Generic_IEnumerable_System_Drawing_Color__">Colors(IEnumerable&lt;Color&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.Colors.html#C1_Web_Mvc_ColorScale_Colors">Colors</a>.
Sets sets the array of colors (palette) used for transformation..</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorScaleBuilder_Colors_System_String___" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.Colors(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.Colors.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_Colors_System_String___">Colors(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.Colors.html#C1_Web_Mvc_ColorScale_Colors">Colors</a>.
Sets sets the array of colors (palette) used for transformation..</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorScaleBuilder_Format_System_String_" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.Format(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.Format.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_Format_System_String_">Format(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.Format.html#C1_Web_Mvc_ColorScale_Format">Format</a>.
Get or sets the format string for legend items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorScaleBuilder_Scale_System_String_" data-uid="C1.Web.Mvc.Fluent.ColorScaleBuilder.Scale(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorScaleBuilder.Scale.html#C1_Web_Mvc_Fluent_ColorScaleBuilder_Scale_System_String_">Scale(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorScale.Scale.html#C1_Web_Mvc_ColorScale_Scale">Scale</a>.
Sets the scaling function.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
