alexa
menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class StockChartSeriesLabelSettingsBuilder

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

    Constructors

    StockChartSeriesLabelSettingsBuilder()

    Declaration
    public StockChartSeriesLabelSettingsBuilder()

    StockChartSeriesLabelSettingsBuilder(StockChartSeriesLabelSettings)

    Declaration
    public StockChartSeriesLabelSettingsBuilder(StockChartSeriesLabelSettings model)
    Parameters
    Type Name Description
    StockChartSeriesLabelSettings model

    Methods

    Background(String)

    Specifies the background color of the inline series label.

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

    Border(StockChartSeriesLabelBorder)

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

    Declaration
    public StockChartSeriesLabelSettingsBuilder Border(StockChartSeriesLabelBorder value)
    Parameters
    Type Name Description
    StockChartSeriesLabelBorder value
    Returns
    Type
    StockChartSeriesLabelSettingsBuilder

    Border(Action<StockChartBorderBuilder>)

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

    Font(StockChartLabelSettingsStyle)

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

    Declaration
    public StockChartSeriesLabelSettingsBuilder Font(StockChartLabelSettingsStyle value)
    Parameters
    Type Name Description
    StockChartLabelSettingsStyle value
    Returns
    Type
    StockChartSeriesLabelSettingsBuilder

    Font(Action<StockChartFontBuilder>)

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

    Opacity(Double)

    Sets the opacity of the series label.

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

    ShowOverlapText(Boolean)

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

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

    Text(String)

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

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

    Visible(Boolean)

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

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