TreeMap

Example

Razor
<kendo-treemap>
    <hierarchical-datasource></hierarchical-datasource>
    <treemap-template></treemap-template>
</kendo-treemap>

ChildTags

Tag NameDetails
hierarchical-datasourceHierarchicalDataSourceTagHelper
treemap-templateTemplateTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
colorsObject[]The default colors for the TreeMap items (tiles). Can be set to array of specific colors or array of color ranges. For more information on the widget behavior, see the Colors section on the TreeMap Overview page.
data-source-idStringThe Id of the data source.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
auto-bindBooleanIf set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
color-fieldStringThe data item field which contains the tile color.
has-client-componentBoolean
on-data-boundStringFired when the widget is bound to data from its dataSource.
on-item-createdStringFired when a tile has been created.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
templateStringThe template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
template-handlerStringThe template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
template-idStringThe template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
template-viewIHtmlContentThe template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
text-fieldStringThe data item field which contains the tile title.
themeStringThe theme of the TreeMap.
typeTreeMapTypeThe layout type for the Treemap.
value-fieldStringThe data item field which contains the tile value.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support