ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class CircularGaugeLabelBuilder

    Inheritance
    System.Object
    ControlBuilder
    CircularGaugeLabelBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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 labels get rotated along the axis in the circular gauge component.

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

    Font(CircularGaugeFont)

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

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

    Font(Action<CircularGaugeFontBuilder>)

    Declaration
    public CircularGaugeLabelBuilder Font(Action<CircularGaugeFontBuilder> font)
    Parameters
    Type Name Description
    System.Action<CircularGaugeFontBuilder> font
    Returns
    Type Description
    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 Description
    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 Description
    CircularGaugeLabelBuilder

    Offset(Double)

    Sets and gets the value to place the labels from the axis in circular gauge.

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

    Position(Position)

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

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

    ShouldMaintainPadding(Boolean)

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

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

    UseRangeColor(Boolean)

    Enables and disables the axis labels to use the range color of the axis.

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