menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsDataLabelSettingsBuilder - API Reference

    Show / Hide Table of Contents

    Class MapsDataLabelSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    MapsDataLabelSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsDataLabelSettingsBuilder : ControlBuilder

    Constructors

    MapsDataLabelSettingsBuilder()

    Declaration
    public MapsDataLabelSettingsBuilder()

    MapsDataLabelSettingsBuilder(MapsDataLabelSettings)

    Declaration
    public MapsDataLabelSettingsBuilder(MapsDataLabelSettings model)
    Parameters
    Type Name Description
    MapsDataLabelSettings model

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Name Description
    MapsBorder value
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    Border(Action<MapsBorderBuilder>)

    Declaration
    public MapsDataLabelSettingsBuilder Border(Action<MapsBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<MapsBorderBuilder> border
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Name Description
    IntersectAction value
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Name Description
    SmartLabelMode value
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder

    TextStyle(MapsFont)

    Gets or sets the options for customizing the styles of the text in data labels.

    Declaration
    public MapsDataLabelSettingsBuilder TextStyle(MapsFont value)
    Parameters
    Type Name Description
    MapsFont value
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    TextStyle(Action<MapsFontBuilder>)

    Declaration
    public MapsDataLabelSettingsBuilder TextStyle(Action<MapsFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<MapsFontBuilder> textStyle
    Returns
    Type Description
    MapsDataLabelSettingsBuilder

    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
    Type Description
    MapsDataLabelSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved