menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class CircularGaugeLegendSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    CircularGaugeLegendSettingsBuilder
    Namespace: Syncfusion.EJ2.CircularGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class CircularGaugeLegendSettingsBuilder : ControlBuilder

    Constructors

    CircularGaugeLegendSettingsBuilder()

    Declaration
    public CircularGaugeLegendSettingsBuilder()

    CircularGaugeLegendSettingsBuilder(CircularGaugeLegendSettings)

    Declaration
    public CircularGaugeLegendSettingsBuilder(CircularGaugeLegendSettings model)
    Parameters
    Type Name Description
    CircularGaugeLegendSettings model

    Methods

    Alignment(Alignment)

    Sets and gets the alignment of the legend in the circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Alignment(Alignment value)
    Parameters
    Type Name Description
    Alignment value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Background(String)

    Sets and gets the background color of the legend in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Background(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Border(CircularGaugeBorder)

    Sets and gets the options to customize the style properties of the border of the legend.

    Declaration
    public CircularGaugeLegendSettingsBuilder Border(CircularGaugeBorder value)
    Parameters
    Type Name Description
    CircularGaugeBorder value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Border(Action<CircularGaugeBorderBuilder>)

    Declaration
    public CircularGaugeLegendSettingsBuilder Border(Action<CircularGaugeBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<CircularGaugeBorderBuilder> border
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Height(String)

    Sets and gets the height of the legend in the circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Height(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Location(Object)

    Sets and gets the location of the legend, relative to the circular gauge. If x is 20, legend moves by 20 pixels to the right of the gauge. It requires the position to be Custom.

    Declaration
    public CircularGaugeLegendSettingsBuilder Location(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Margin(CircularGaugeMargin)

    Sets and gets the options to customize the legend margin.

    Declaration
    public CircularGaugeLegendSettingsBuilder Margin(CircularGaugeMargin value)
    Parameters
    Type Name Description
    CircularGaugeMargin value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Margin(Action<CircularGaugeMarginBuilder>)

    Declaration
    public CircularGaugeLegendSettingsBuilder Margin(Action<CircularGaugeMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<CircularGaugeMarginBuilder> margin
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Opacity(Double)

    Sets and gets the opacity of the legend.

    Declaration
    public CircularGaugeLegendSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Padding(Double)

    Sets and gets the options to customize the padding between legend items.

    Declaration
    public CircularGaugeLegendSettingsBuilder Padding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Position(LegendPosition)

    Sets and gets the position of the legend in the circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Position(LegendPosition value)
    Parameters
    Type Name Description
    LegendPosition value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Shape(GaugeShape)

    Sets and gets the shape of the legend in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Shape(GaugeShape value)
    Parameters
    Type Name Description
    GaugeShape value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ShapeBorder(CircularGaugeBorder)

    Sets and gets the options to customize the style properties of the border for the shape of the legend in the circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder ShapeBorder(CircularGaugeBorder value)
    Parameters
    Type Name Description
    CircularGaugeBorder value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ShapeBorder(Action<CircularGaugeBorderBuilder>)

    Declaration
    public CircularGaugeLegendSettingsBuilder ShapeBorder(Action<CircularGaugeBorderBuilder> shapeBorder)
    Parameters
    Type Name Description
    System.Action<CircularGaugeBorderBuilder> shapeBorder
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ShapeHeight(Double)

    Sets and gets the height of the legend shape in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder ShapeHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ShapePadding(Double)

    Sets and gets the padding for the legend shape in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder ShapePadding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ShapeWidth(Double)

    Sets and gets the width of the legend shape in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder ShapeWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    TextStyle(CircularGaugeFont)

    Sets and gets the options to customize the text of the legend item.

    Declaration
    public CircularGaugeLegendSettingsBuilder TextStyle(CircularGaugeFont value)
    Parameters
    Type Name Description
    CircularGaugeFont value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    TextStyle(Action<CircularGaugeFontBuilder>)

    Declaration
    public CircularGaugeLegendSettingsBuilder TextStyle(Action<CircularGaugeFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<CircularGaugeFontBuilder> textStyle
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    ToggleVisibility(Boolean)

    Enables and disables the visibility of the ranges. When the legend is clicked, the visibility of the legend will be toggled.

    Declaration
    public CircularGaugeLegendSettingsBuilder ToggleVisibility(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Visible(Boolean)

    Enable and disables the visibility of the legend in circular gauge.

    Declaration
    public CircularGaugeLegendSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CircularGaugeLegendSettingsBuilder

    Width(String)

    Sets and gets the width of the legend in the circular gauge.

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