ASP.NET MVC - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • 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
    ControlBuilder
    MapsColorMappingBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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)

    Sets and gets the color for the color-mapping in maps.

    Declaration
    public MapsColorMappingBuilder Color(object color)
    Parameters
    Type Name Description
    System.Object color
    Returns
    Type Description
    MapsColorMappingBuilder

    Color(String)

    Sets and gets the color for the color-mapping in maps.

    Declaration
    public MapsColorMappingBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color
    Returns
    Type Description
    MapsColorMappingBuilder

    Color(String[])

    Sets and gets the color for the color-mapping in maps.

    Declaration
    public MapsColorMappingBuilder Color(string[] color)
    Parameters
    Type Name Description
    System.String[] color
    Returns
    Type Description
    MapsColorMappingBuilder

    From(Double)

    Sets and gets the value from where the range color-mapping starts.

    Declaration
    public MapsColorMappingBuilder From(double from)
    Parameters
    Type Name Description
    System.Double from
    Returns
    Type Description
    MapsColorMappingBuilder

    Label(String)

    Sets and gets the label for the color-mapping from the data source in maps.

    Declaration
    public MapsColorMappingBuilder Label(string label)
    Parameters
    Type Name Description
    System.String label
    Returns
    Type Description
    MapsColorMappingBuilder

    MaxOpacity(Double)

    Sets and gets the maximum opacity for the color-mapping in maps.

    Declaration
    public MapsColorMappingBuilder MaxOpacity(double maxOpacity)
    Parameters
    Type Name Description
    System.Double maxOpacity
    Returns
    Type Description
    MapsColorMappingBuilder

    MinOpacity(Double)

    Sets and gets the minimum opacity for the color-mapping in maps.

    Declaration
    public MapsColorMappingBuilder MinOpacity(double minOpacity)
    Parameters
    Type Name Description
    System.Double minOpacity
    Returns
    Type Description
    MapsColorMappingBuilder

    ShowLegend(Boolean)

    Enables or disables the visibility state of legend for the color-mapping shapes in maps.

    Declaration
    public MapsColorMappingBuilder ShowLegend(bool showLegend)
    Parameters
    Type Name Description
    System.Boolean showLegend
    Returns
    Type Description
    MapsColorMappingBuilder

    To(Double)

    Sets and gets the value to where the range color-mapping ends.

    Declaration
    public MapsColorMappingBuilder To(double to)
    Parameters
    Type Name Description
    System.Double to
    Returns
    Type Description
    MapsColorMappingBuilder

    Value(String)

    Sets and gets the value for the color-mapping from the data source.

    Declaration
    public MapsColorMappingBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    MapsColorMappingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved