[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TreeMapBuilder-1

TreeMapBuilder<T> Class

Defines a builder to configurate TreeMap<T>.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class TreeMapBuilder<T> : FlexChartBaseBuilder<T, TreeMap<T>, TreeMapBuilder<T>>, IHtmlString
Type Parameters
Name Description
T

Constructors

Name Description
TreeMapBuilder(TreeMap<T>)

Creates one TreeMapBuilder<T> instance to configurate component.

Methods

Name Description
Binding(string)

Configurates Binding. Sets the name of the property of the data item that contains the chart value.

BindingName(params string[])

Configurates BindingName. Sets the name of the property containing name of the data item. It is used to show name of the node.

ChildItemsPath(params string[])

Configurates ChildItemsPath. Sets the name of the property (or properties) used to generate child items in hierarchical data.

DataLabel(Action<DataLabelBuilder>)

Configurates DataLabel.

MaxDepth(int)

Configurates MaxDepth. Sets the maximum number of node levels to show in the current view.

Palette(Action<ListItemFactory<TreeMapItemStyle, TreeMapItemStyleBuilder>>)

Configure Palette. Sets an array of default colors to be used in a tree map.

Palette(IEnumerable<Color>)

Configure Palette. Sets an array of default colors to be used in a tree map.

Type(TreeMapType)

Configurates Type. Sets the type of the treemap.

Extension Methods