Class TreeMapColorMappingBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeMapColorMappingBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeMapColorMappingBuilder : ControlBuilder
Constructors
TreeMapColorMappingBuilder()
Declaration
public TreeMapColorMappingBuilder()
TreeMapColorMappingBuilder(List<TreeMapColorMapping>)
Declaration
public TreeMapColorMappingBuilder(List<TreeMapColorMapping> collection)
Parameters
Methods
Add()
Declaration
Color(Object)
Sets and gets the color for the color-mapping in treemap.
Declaration
public TreeMapColorMappingBuilder Color(object color)
Parameters
Type |
Name |
Description |
System.Object |
color |
|
Returns
Color(String)
Sets and gets the color for the color-mapping in treemap.
Declaration
public TreeMapColorMappingBuilder Color(string color)
Parameters
Type |
Name |
Description |
System.String |
color |
|
Returns
Color(String[])
Sets and gets the color for the color-mapping in treemap.
Declaration
public TreeMapColorMappingBuilder Color(string[] color)
Parameters
Type |
Name |
Description |
System.String[] |
color |
|
Returns
From(Double)
Sets and gets the value from which the range of color mapping starts.
Declaration
public TreeMapColorMappingBuilder From(double from)
Parameters
Type |
Name |
Description |
System.Double |
from |
|
Returns
Label(String)
Sets and gets the label text for the legend when it is rendered based on color mapping.
Declaration
public TreeMapColorMappingBuilder Label(string label)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Returns
MaxOpacity(Double)
Sets and gets the maximum opacity for the color-mapping in the treemap.
Declaration
public TreeMapColorMappingBuilder MaxOpacity(double maxOpacity)
Parameters
Type |
Name |
Description |
System.Double |
maxOpacity |
|
Returns
MinOpacity(Double)
Sets and gets the minimum opacity for the color-mapping in the treemap.
Declaration
public TreeMapColorMappingBuilder MinOpacity(double minOpacity)
Parameters
Type |
Name |
Description |
System.Double |
minOpacity |
|
Returns
ShowLegend(Boolean)
Enables or disables the visibility of the legend for color mapping in the treemap.
Declaration
public TreeMapColorMappingBuilder ShowLegend(bool showLegend)
Parameters
Type |
Name |
Description |
System.Boolean |
showLegend |
|
Returns
To(Double)
Sets and gets the value to which the range of color mapping ends.
Declaration
public TreeMapColorMappingBuilder To(double to)
Parameters
Type |
Name |
Description |
System.Double |
to |
|
Returns
Value(Double)
Sets and gets the value for the color-mapping from the data source.
Declaration
public TreeMapColorMappingBuilder Value(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Value(String)
Sets and gets the value for the color-mapping from the data source.
Declaration
public TreeMapColorMappingBuilder Value(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns