menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class LabelsBuilder

    Class for labels builder.

    Inheritance
    System.Object
    LabelsBuilder
    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 LabelsBuilder

    Constructors

    LabelsBuilder(Scales)

    Initializes a new instance of the LabelsBuilder class to indicate the scale labels.

    Declaration
    public LabelsBuilder(Scales labels)
    Parameters
    Type Name Description
    Scales labels

    The labels.

    Methods

    Add()

    Adds this instance.

    Declaration
    public void Add()

    Angle(Int32)

    Angles the specified angle.

    Declaration
    public LabelsBuilder Angle(int angle)
    Parameters
    Type Name Description
    System.Int32 angle

    The angle.

    Returns
    Type Description
    LabelsBuilder

    DistanceFromScale(Action<DistanceFromScaleBuilder>)

    Distances from scale.

    Declaration
    public LabelsBuilder DistanceFromScale(Action<DistanceFromScaleBuilder> distanceFromScale)
    Parameters
    Type Name Description
    System.Action<DistanceFromScaleBuilder> distanceFromScale

    The distance from scale.

    Returns
    Type Description
    LabelsBuilder

    Font(Action<FontBuilder>)

    Fonts the specified font.

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

    The font.

    Returns
    Type Description
    LabelsBuilder

    IncludeFirstValue()

    Includes the first value.

    Declaration
    public LabelsBuilder IncludeFirstValue()
    Returns
    Type Description
    LabelsBuilder

    IncludeFirstValue(Boolean)

    Includes the first value.

    Declaration
    public LabelsBuilder IncludeFirstValue(bool includeFirstValue)
    Parameters
    Type Name Description
    System.Boolean includeFirstValue

    if set to true [include first value].

    Returns
    Type Description
    LabelsBuilder

    Opacity(Double)

    Opacities the specified opacity.

    Declaration
    public LabelsBuilder Opacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity

    The opacity.

    Returns
    Type Description
    LabelsBuilder

    Placement(LabelPlacement)

    Placements the specified placement.

    Declaration
    public LabelsBuilder Placement(LabelPlacement placement)
    Parameters
    Type Name Description
    LabelPlacement placement

    The placement.

    Returns
    Type Description
    LabelsBuilder

    TextColor(String)

    Texts the color.

    Declaration
    public LabelsBuilder TextColor(string textColor)
    Parameters
    Type Name Description
    System.String textColor

    Color of the text.

    Returns
    Type Description
    LabelsBuilder

    Type(LabelType)

    Types the specified type.

    Declaration
    public LabelsBuilder Type(LabelType type)
    Parameters
    Type Name Description
    LabelType type

    The type.

    Returns
    Type Description
    LabelsBuilder

    UnitText(String)

    Units the text.

    Declaration
    public LabelsBuilder UnitText(string unitText)
    Parameters
    Type Name Description
    System.String unitText

    The unit text.

    Returns
    Type Description
    LabelsBuilder

    UnitTextPlacement(UnitTextPlacement)

    Units the text placement.

    Declaration
    public LabelsBuilder UnitTextPlacement(UnitTextPlacement unitTextPlacement)
    Parameters
    Type Name Description
    UnitTextPlacement unitTextPlacement

    The unit text placement.

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