menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class CircularGaugeLabelBuilder

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

    Constructors

    CircularGaugeLabelBuilder()

    Declaration
    public CircularGaugeLabelBuilder()

    CircularGaugeLabelBuilder(CircularGaugeLabel)

    Declaration
    public CircularGaugeLabelBuilder(CircularGaugeLabel model)
    Parameters
    Type Name Description
    CircularGaugeLabel model

    Methods

    AutoAngle(Boolean)

    Enables and disables the rotation of the labels along the axis in the circular gauge.

    Declaration
    public CircularGaugeLabelBuilder AutoAngle(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CircularGaugeLabelBuilder

    Font(CircularGaugeFont)

    Sets and gets the options to customize the style of the text in axis labels in circular gauge.

    Declaration
    public CircularGaugeLabelBuilder Font(CircularGaugeFont value)
    Parameters
    Type Name Description
    CircularGaugeFont value
    Returns
    Type
    CircularGaugeLabelBuilder

    Font(Action<CircularGaugeFontBuilder>)

    Declaration
    public CircularGaugeLabelBuilder Font(Action<CircularGaugeFontBuilder> font)
    Parameters
    Type Name Description
    System.Action<CircularGaugeFontBuilder> font
    Returns
    Type
    CircularGaugeLabelBuilder

    Format(String)

    Sets and gets the format for the axis label. This property accepts any global string format like 'C', 'n1', 'P' etc. Also accepts placeholder like '{value}°C' in which value represent the axis label e.g. 20°C.

    Declaration
    public CircularGaugeLabelBuilder Format(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularGaugeLabelBuilder

    HiddenLabel(HiddenLabel)

    Sets and gets the label of an axis, which gets hidden when an axis makes a complete circle.

    Declaration
    public CircularGaugeLabelBuilder HiddenLabel(HiddenLabel value)
    Parameters
    Type Name Description
    HiddenLabel value
    Returns
    Type
    CircularGaugeLabelBuilder

    Offset(Double)

    Sets and gets the offset value from where the labels must be placed from the axis in circular gauge.

    Declaration
    public CircularGaugeLabelBuilder Offset(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularGaugeLabelBuilder

    Position(Position)

    Sets and gets the position type to place the labels in the axis in the circular gauge.

    Declaration
    public CircularGaugeLabelBuilder Position(Position value)
    Parameters
    Type Name Description
    Position value
    Returns
    Type
    CircularGaugeLabelBuilder

    ShouldMaintainPadding(Boolean)

    Enables and disables the default padding value of axis labels in circular gauge.

    Declaration
    public CircularGaugeLabelBuilder ShouldMaintainPadding(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CircularGaugeLabelBuilder

    UseRangeColor(Boolean)

    Enables and disables the applying of the range color to the labels in the axis.

    Declaration
    public CircularGaugeLabelBuilder UseRangeColor(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CircularGaugeLabelBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved