menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeMapColorMapping

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TreeMapColorMapping
    ColorMappingLeafItemSettings
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapColorMapping : EJTagHelper

    Constructors

    TreeMapColorMapping()

    Declaration
    public TreeMapColorMapping()

    Properties

    Color

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

    Declaration
    public object Color { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    From

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

    Declaration
    public double From { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    Label

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

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    MaxOpacity

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

    Declaration
    public double MaxOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    MinOpacity

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

    Declaration
    public double MinOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    ShowLegend

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

    Declaration
    public bool ShowLegend { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    To

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

    Declaration
    public double To { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    Value

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

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved