alexa
menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartSeriesLabelSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartSeriesLabelSettingsBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartSeriesLabelSettingsBuilder : ControlBuilder

    Constructors

    ChartSeriesLabelSettingsBuilder()

    Declaration
    public ChartSeriesLabelSettingsBuilder()

    ChartSeriesLabelSettingsBuilder(ChartSeriesLabelSettings)

    Declaration
    public ChartSeriesLabelSettingsBuilder(ChartSeriesLabelSettings model)
    Parameters
    Type Name Description
    ChartSeriesLabelSettings model

    Methods

    Background(String)

    Specifies the background color of the inline series label.

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

    Border(ChartSeriesLabelBorder)

    Specifies the border properties for the inline label. Includes color and width.

    Declaration
    public ChartSeriesLabelSettingsBuilder Border(ChartSeriesLabelBorder value)
    Parameters
    Type Name Description
    ChartSeriesLabelBorder value
    Returns
    Type
    ChartSeriesLabelSettingsBuilder

    Border(Action<ChartBorderBuilder>)

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

    Font(ChartLabelSettingsStyle)

    Specifies the font properties for the series name label. This includes customization options such as font size, color, style, weight, and family.

    Declaration
    public ChartSeriesLabelSettingsBuilder Font(ChartLabelSettingsStyle value)
    Parameters
    Type Name Description
    ChartLabelSettingsStyle value
    Returns
    Type
    ChartSeriesLabelSettingsBuilder

    Font(Action<ChartFontBuilder>)

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

    Opacity(Double)

    Sets the opacity of the series label.

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

    ShowOverlapText(Boolean)

    Determines whether to show the label text even when it overlaps with other labels.

    Declaration
    public ChartSeriesLabelSettingsBuilder ShowOverlapText(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartSeriesLabelSettingsBuilder

    Text(String)

    Defines the custom text to display as the series label. If not specified, the series name will be used.

    Declaration
    public ChartSeriesLabelSettingsBuilder Text(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartSeriesLabelSettingsBuilder

    Visible(Boolean)

    Enables or disables the rendering of series names as inline labels.

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