Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorMapping - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorMapping

    Sets and gets for customizing the color mapping properties of the treemap component.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    ColorMapping
    TreeMapLeafColorMapping
    TreeMapLevelColorMapping
    Namespace: Syncfusion.Blazor.TreeMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColorMapping : SfBaseComponent

    Constructors

    ColorMapping()

    Declaration
    public ColorMapping()

    Properties

    Color

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

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

    EndRange

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

    Declaration
    public Nullable<double> EndRange { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Label

    Sets and gets the label text for the legend based on color mapping.

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

    MaxOpacity

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

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

    MinOpacity

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

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

    ShowLegend

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

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

    StartRange

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

    Declaration
    public Nullable<double> StartRange { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved