Class MapsColorMappingBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsColorMappingBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsColorMappingBuilder : ControlBuilder
Constructors
MapsColorMappingBuilder()
Declaration
public MapsColorMappingBuilder()
MapsColorMappingBuilder(List<MapsColorMapping>)
Declaration
public MapsColorMappingBuilder(List<MapsColorMapping> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<MapsColorMapping> |
collection |
|
Methods
Add()
Declaration
Color(Object)
Gets or sets the color for the color-mapping in maps.
Declaration
public MapsColorMappingBuilder Color(object color)
Parameters
Type |
Name |
Description |
System.Object |
color |
|
Returns
Color(String)
Gets or sets the color for the color-mapping in maps.
Declaration
public MapsColorMappingBuilder Color(string color)
Parameters
Type |
Name |
Description |
System.String |
color |
|
Returns
Color(String[])
Gets or sets the color for the color-mapping in maps.
Declaration
public MapsColorMappingBuilder Color(string[] color)
Parameters
Type |
Name |
Description |
System.String[] |
color |
|
Returns
From(Double)
Gets or sets the value from where the range for the color-mapping starts.
Declaration
public MapsColorMappingBuilder From(double from)
Parameters
Type |
Name |
Description |
System.Double |
from |
|
Returns
Label(String)
Gets or sets the label for the color-mapping to display in the legend item text.
Declaration
public MapsColorMappingBuilder Label(string label)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Returns
MaxOpacity(Double)
Gets or sets the maximum opacity for the color-mapping in maps.
Declaration
public MapsColorMappingBuilder MaxOpacity(double maxOpacity)
Parameters
Type |
Name |
Description |
System.Double |
maxOpacity |
|
Returns
MinOpacity(Double)
Gets or sets the minimum opacity for the color-mapping in maps.
Declaration
public MapsColorMappingBuilder MinOpacity(double minOpacity)
Parameters
Type |
Name |
Description |
System.Double |
minOpacity |
|
Returns
ShowLegend(Boolean)
Enables or disables the visibility of legend for the corresponding color-mapped shapes in maps.
Declaration
public MapsColorMappingBuilder ShowLegend(bool showLegend)
Parameters
Type |
Name |
Description |
System.Boolean |
showLegend |
|
Returns
To(Double)
Gets or sets the value to where the range for the color-mapping ends.
Declaration
public MapsColorMappingBuilder To(double to)
Parameters
Type |
Name |
Description |
System.Double |
to |
|
Returns
Value(String)
Gets or sets the value from the data source to map the corresponding colors to the shapes.
Declaration
public MapsColorMappingBuilder Value(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns