menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeMapColorMappingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TreeMapColorMappingBuilder
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapColorMappingBuilder : ControlBuilder

    Constructors

    TreeMapColorMappingBuilder()

    Declaration
    public TreeMapColorMappingBuilder()

    TreeMapColorMappingBuilder(List<TreeMapColorMapping>)

    Declaration
    public TreeMapColorMappingBuilder(List<TreeMapColorMapping> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<TreeMapColorMapping> collection

    Methods

    Add()

    Declaration
    public void Add()

    Color(Object)

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

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

    Color(String)

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

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

    Color(String[])

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

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

    From(Double)

    Sets and gets the value from which the range of color mapping starts.

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

    Label(String)

    Sets and gets the label text for the legend when it is rendered based on color mapping.

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

    MaxOpacity(Double)

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

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

    MinOpacity(Double)

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

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

    ShowLegend(Boolean)

    Enables or disables the visibility of the legend for color mapping in the treemap.

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

    To(Double)

    Sets and gets the value to which the range of color mapping ends.

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

    Value(Double)

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

    Declaration
    public TreeMapColorMappingBuilder Value(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    TreeMapColorMappingBuilder

    Value(String)

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

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