Class TreeMapLevelBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeMapLevelBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeMapLevelBuilder : ControlBuilder
Constructors
TreeMapLevelBuilder()
Declaration
public TreeMapLevelBuilder()
TreeMapLevelBuilder(List<TreeMapLevel>)
Declaration
public TreeMapLevelBuilder(List<TreeMapLevel> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<TreeMapLevel> |
collection |
|
Methods
Add()
Declaration
AutoFill(Boolean)
Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
Declaration
public TreeMapLevelBuilder AutoFill(bool autoFill)
Parameters
Type |
Name |
Description |
System.Boolean |
autoFill |
|
Returns
Border(TreeMapBorder)
Sets and gets the options for customizing the color and width of the border of
the level leaf items of the treemap.
Declaration
public TreeMapLevelBuilder Border(TreeMapBorder border)
Parameters
Returns
Border(Action<TreeMapBorderBuilder>)
Declaration
public TreeMapLevelBuilder Border(Action<TreeMapBorderBuilder> border)
Parameters
Returns
ColorMapping(Action<TreeMapColorMappingBuilder>)
Declaration
public TreeMapLevelBuilder ColorMapping(Action<TreeMapColorMappingBuilder> colorMapping)
Parameters
Returns
ColorMapping(List<TreeMapColorMapping>)
Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
Declaration
public TreeMapLevelBuilder ColorMapping(List<TreeMapColorMapping> colorMapping)
Parameters
Returns
Fill(String)
Sets and gets the fill color of the level leaf item in the treemap.
Declaration
public TreeMapLevelBuilder Fill(string fill)
Parameters
Type |
Name |
Description |
System.String |
fill |
|
Returns
GroupGap(Double)
Sets and gets the gap between the level leaf items in the treemap.
Declaration
public TreeMapLevelBuilder GroupGap(double groupGap)
Parameters
Type |
Name |
Description |
System.Double |
groupGap |
|
Returns
GroupPadding(Double)
Sets and gets the padding of level leaf items in the treemap.
Declaration
public TreeMapLevelBuilder GroupPadding(double groupPadding)
Parameters
Type |
Name |
Description |
System.Double |
groupPadding |
|
Returns
GroupPath(String)
Sets and gets the value path from the data source in the treemap to render the item.
Declaration
public TreeMapLevelBuilder GroupPath(string groupPath)
Parameters
Type |
Name |
Description |
System.String |
groupPath |
|
Returns
Sets and gets the alignment of the header of the treemap.
Declaration
public TreeMapLevelBuilder HeaderAlignment(Alignment headerAlignment)
Parameters
Type |
Name |
Description |
Alignment |
headerAlignment |
|
Returns
Sets and gets the string to format the header label of the level leaf items in the treemap.
Declaration
public TreeMapLevelBuilder HeaderFormat(string headerFormat)
Parameters
Type |
Name |
Description |
System.String |
headerFormat |
|
Returns
Sets and gets the height of header in the treemap.
Declaration
public TreeMapLevelBuilder HeaderHeight(double headerHeight)
Parameters
Type |
Name |
Description |
System.Double |
headerHeight |
|
Returns
Sets and gets the options for customizing the text style of header label of the level leaf item.
Declaration
public TreeMapLevelBuilder HeaderStyle(TreeMapFont headerStyle)
Parameters
Returns
Declaration
public TreeMapLevelBuilder HeaderStyle(Action<TreeMapFontBuilder> headerStyle)
Parameters
Returns
Sets and gets the template for header in the treemap.
Declaration
public TreeMapLevelBuilder HeaderTemplate(string headerTemplate)
Parameters
Type |
Name |
Description |
System.String |
headerTemplate |
|
Returns
Opacity(Double)
Sets and gets the opacity in the level leaf item of the treemap.
Declaration
public TreeMapLevelBuilder Opacity(double opacity)
Parameters
Type |
Name |
Description |
System.Double |
opacity |
|
Returns
Shows or hides the header in level leaf item of the treemap.
Declaration
public TreeMapLevelBuilder ShowHeader(bool showHeader)
Parameters
Type |
Name |
Description |
System.Boolean |
showHeader |
|
Returns
TemplatePosition(LabelPosition)
Sets and gets the options for customizing the template position of the treemap.
Declaration
public TreeMapLevelBuilder TemplatePosition(LabelPosition templatePosition)
Parameters
Returns