menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomLabelBuilder

    Show / Hide Table of Contents

    Class CustomLabelBuilder

    Class for custom label builder.

    Inheritance
    System.Object
    CustomLabelBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class CustomLabelBuilder

    Constructors

    CustomLabelBuilder(Scales)

    Initializes a new instance of the CustomLabelBuilder class to indicate the custom label.

    Declaration
    public CustomLabelBuilder(Scales customLabel)
    Parameters
    Type Name Description
    Scales customLabel

    The custom label

    Methods

    Add()

    Adds this instance.

    Declaration
    public void Add()

    Color(String)

    Colors the specified color.

    Declaration
    public CustomLabelBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color

    The color.

    Returns
    Type Description
    CustomLabelBuilder

    CustomLabelopacity(Double)

    Customs the label opacity.

    Declaration
    public CustomLabelBuilder CustomLabelopacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity

    The opacity.

    Returns
    Type Description
    CustomLabelBuilder

    CustomLabelOpacity(Double)

    Declaration
    public CustomLabelBuilder CustomLabelOpacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity
    Returns
    Type Description
    CustomLabelBuilder

    CustomLabelPositionType(CustomLabelPositionType)

    Customs the type of the label position.

    Declaration
    public CustomLabelBuilder CustomLabelPositionType(CustomLabelPositionType type)
    Parameters
    Type Name Description
    CustomLabelPositionType type

    The type.

    Returns
    Type Description
    CustomLabelBuilder

    Font(Action<FontBuilder>)

    Fonts the specified font.

    Declaration
    public CustomLabelBuilder Font(Action<FontBuilder> font)
    Parameters
    Type Name Description
    System.Action<FontBuilder> font

    The font.

    Returns
    Type Description
    CustomLabelBuilder

    Position(Action<LinearPositionBuilder>)

    Positions the specified position.

    Declaration
    public CustomLabelBuilder Position(Action<LinearPositionBuilder> position)
    Parameters
    Type Name Description
    System.Action<LinearPositionBuilder> position

    The position.

    Returns
    Type Description
    CustomLabelBuilder

    TextAngle(Int32)

    Texts the angle.

    Declaration
    public CustomLabelBuilder TextAngle(int textAngle)
    Parameters
    Type Name Description
    System.Int32 textAngle

    The text angle.

    Returns
    Type Description
    CustomLabelBuilder

    Value(String)

    Values the specified value.

    Declaration
    public CustomLabelBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value

    The value.

    Returns
    Type Description
    CustomLabelBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved