Class TreeMapColorMapping
Inheritance
Namespace: Syncfusion.EJ2.TreeMap
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeMapColorMapping : EJTagHelper
Constructors
TreeMapColorMapping()
Declaration
public TreeMapColorMapping()
Properties
Color
Sets and gets the color for the color-mapping in treemap.
Declaration
public object Color { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
From
Sets and gets the value from which the range of color mapping starts.
Declaration
public double From { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Label
Sets and gets the label text for the legend when it is rendered based on color mapping.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
MaxOpacity
Sets and gets the maximum opacity for the color-mapping in the treemap.
Declaration
public double MaxOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
MinOpacity
Sets and gets the minimum opacity for the color-mapping in the treemap.
Declaration
public double MinOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
ShowLegend
Enables or disables the visibility of the legend for color mapping in the treemap.
Declaration
public bool ShowLegend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
To
Sets and gets the value to which the range of color mapping ends.
Declaration
public double To { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Value
Sets and gets the value for the color-mapping from the data source.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |