menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsColorMappingBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsColorMappingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    MapsColorMappingBuilder
    Namespace: Syncfusion.EJ2.Maps
    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
    public void Add()

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

    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
    Type
    MapsColorMappingBuilder

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