# C1.Web.Mvc.TreeMap-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_TreeMap_1" data-uid="C1.Web.Mvc.TreeMap`1" class="text-break">TreeMap&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>It displays hierarchical (tree-structured) data as a set of nested rectangles.</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.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.ItemsBoundControl-1.html">ItemsBoundControl</a>&lt;T&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.FlexChartBase-1.html">FlexChartBase</a>&lt;T&gt;</div>
    <div class="level5"><span class="xref">TreeMap&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_TreeMap_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeMap&lt;T&gt; : FlexChartBase&lt;T&gt;, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeMap(Of T)
    Inherits FlexChartBase(Of T)
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="C1_Web_Mvc_TreeMap_1_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. A leaf node's rectangle has an area proportional to a specified dimension of the data. Often the leaf nodes are colored to show a separate dimension of the data.</p>
</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_TreeMap_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.TreeMap`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.-ctor.html#C1_Web_Mvc_TreeMap_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">TreeMap(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap&lt;T&gt;</a> instance.</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_Web_Mvc_TreeMap_1_Binding" data-uid="C1.Web.Mvc.TreeMap`1.Binding">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.Binding.html#C1_Web_Mvc_TreeMap_1_Binding">Binding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property of the data item that contains the chart value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_BindingName" data-uid="C1.Web.Mvc.TreeMap`1.BindingName">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.BindingName.html#C1_Web_Mvc_TreeMap_1_BindingName">BindingName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property containing name of the data item. It is used to show name of the node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_ChildItemsPath" data-uid="C1.Web.Mvc.TreeMap`1.ChildItemsPath">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.ChildItemsPath.html#C1_Web_Mvc_TreeMap_1_ChildItemsPath">ChildItemsPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property (or properties) used to generate child items in hierarchical data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_DataLabel" data-uid="C1.Web.Mvc.TreeMap`1.DataLabel">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.DataLabel.html#C1_Web_Mvc_TreeMap_1_DataLabel">DataLabel</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_Legend" data-uid="C1.Web.Mvc.TreeMap`1.Legend">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.Legend.html#C1_Web_Mvc_TreeMap_1_Legend">Legend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_MaxDepth" data-uid="C1.Web.Mvc.TreeMap`1.MaxDepth">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.MaxDepth.html#C1_Web_Mvc_TreeMap_1_MaxDepth">MaxDepth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of node levels to show in the current view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_Palette" data-uid="C1.Web.Mvc.TreeMap`1.Palette">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.Palette.html#C1_Web_Mvc_TreeMap_1_Palette">Palette</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an array of default colors to be used in a tree map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeMap_1_Type" data-uid="C1.Web.Mvc.TreeMap`1.Type">
          <a class="xref" href="C1.Web.Mvc.TreeMap-1.Type.html#C1_Web_Mvc_TreeMap_1_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the treemap.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
