Blazor

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

    Show / Hide Table of Contents

    Class LegendSettingsModel

    Interface for a class LegendSettings

    Inheritance
    System.Object
    LegendSettingsModel
    Implements
    System.IEquatable<LegendSettingsModel>
    Namespace: Syncfusion.Blazor.HeatMap
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LegendSettingsModel : Object, IEquatable<LegendSettingsModel>

    Constructors

    LegendSettingsModel()

    Declaration
    public LegendSettingsModel()

    Properties

    Alignment

    Specifies the alignment of the legend

    Declaration
    public Alignment Alignment { get; set; }
    Property Value
    Type Description
    Alignment

    EnableSmartLegend

    Specifies whether smart legend should be displayed or not when palette type is fixed.

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

    Height

    Specifies the height of Legend.

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

    LabelDisplayType

    Specifies the type of label display for smart legend. All: All labels are displayed. Edge: Labels will be displayed only at the edges of the legend. None: No labels are displayed.

    Declaration
    public LabelDisplayType LabelDisplayType { get; set; }
    Property Value
    Type Description
    LabelDisplayType

    LabelFormat

    Specifies the formatting options for the legend label.

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

    Position

    Specifies the position of Legend to render.

    Declaration
    public LegendPosition Position { get; set; }
    Property Value
    Type Description
    LegendPosition

    ShowGradientPointer

    Specifies whether the gradient pointer should be visible or not.

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

    ShowLabel

    Specifies whether the label should be visible or not.

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

    TextStyle

    Specifies the legend label style.

    Declaration
    public FontModel TextStyle { get; set; }
    Property Value
    Type Description
    FontModel

    Title

    Specifies title of Legend.

    Declaration
    public TitleModel Title { get; set; }
    Property Value
    Type Description
    TitleModel

    ToggleVisibility

    To toggle the visibility of heatmap cells based on legend range selection

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

    Visible

    Specifies whether the Legend should be visible or not.

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

    Width

    Specifies the width of Legend.

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

    Methods

    Equals(LegendSettingsModel)

    Declaration
    public bool Equals(LegendSettingsModel legendSettingsModel)
    Parameters
    Type Name Description
    LegendSettingsModel legendSettingsModel
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved