Class MapsDataLabelSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
MapsDataLabelSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsDataLabelSettingsBuilder : ControlBuilder
Constructors
MapsDataLabelSettingsBuilder()
Declaration
public MapsDataLabelSettingsBuilder()
MapsDataLabelSettingsBuilder(MapsDataLabelSettings)
Declaration
public MapsDataLabelSettingsBuilder(MapsDataLabelSettings model)
Parameters
Methods
AnimationDuration(Double)
Gets and sets the duration time for animating the data label.
Declaration
public MapsDataLabelSettingsBuilder AnimationDuration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Border(MapsBorder)
Gets or sets the options for customizing the style properties of the border of the data labels.
Declaration
public MapsDataLabelSettingsBuilder Border(MapsBorder value)
Parameters
Returns
Border(Action<MapsBorderBuilder>)
Declaration
public MapsDataLabelSettingsBuilder Border(Action<MapsBorderBuilder> border)
Parameters
Returns
Fill(String)
Gets or sets the background color for the data labels in maps.
Declaration
public MapsDataLabelSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IntersectionAction(IntersectAction)
Gets or sets the action to be performed when a data-label intersect with other data labels in maps.
Declaration
public MapsDataLabelSettingsBuilder IntersectionAction(IntersectAction value)
Parameters
Returns
LabelPath(String)
Gets or sets the field name from the data source based on which the data labels gets rendered.
The field name from the GeoJSON data can also be set.
Declaration
public MapsDataLabelSettingsBuilder LabelPath(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Opacity(Double)
Gets or sets the opacity of the data labels in maps.
Declaration
public MapsDataLabelSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Rx(Double)
Gets or sets the x position for the data labels.
Declaration
public MapsDataLabelSettingsBuilder Rx(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Ry(Double)
Gets or sets the y position for the data labels in maps.
Declaration
public MapsDataLabelSettingsBuilder Ry(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
SmartLabelMode(SmartLabelMode)
Gets or sets the action to be performed when the data labels exceeds the shape over which it is rendered.
Declaration
public MapsDataLabelSettingsBuilder SmartLabelMode(SmartLabelMode value)
Parameters
Returns
Template(String)
Gets or sets the template for the data labels to render custom elements.
Declaration
public MapsDataLabelSettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextStyle(MapsFont)
Gets or sets the options for customizing the styles of the text in data labels.
Declaration
public MapsDataLabelSettingsBuilder TextStyle(MapsFont value)
Parameters
Returns
TextStyle(Action<MapsFontBuilder>)
Declaration
public MapsDataLabelSettingsBuilder TextStyle(Action<MapsFontBuilder> textStyle)
Parameters
Returns
Visible(Boolean)
Enables or disables the visibility of data labels in maps.
Declaration
public MapsDataLabelSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns