Class MapsColorMapping
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsColorMapping : EJTagHelper
Constructors
MapsColorMapping()
Declaration
public MapsColorMapping()
Properties
Color
Gets or sets the color for the color-mapping in maps.
Declaration
public object Color { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
From
Gets or sets the value from where the range for the color-mapping starts.
Declaration
public double From { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Label
Gets or sets the label for the color-mapping to display in the legend item text.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
MaxOpacity
Gets or sets the maximum opacity for the color-mapping in maps.
Declaration
public double MaxOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
MinOpacity
Gets or sets the minimum opacity for the color-mapping in maps.
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 legend for the corresponding color-mapped shapes in maps.
Declaration
public bool ShowLegend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
To
Gets or sets the value to where the range for the color-mapping ends.
Declaration
public double To { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Value
Gets or sets the value from the data source to map the corresponding colors to the shapes.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |