alexa
menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class ChartSeriesLabelSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ChartSeriesLabelSettings
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartSeriesLabelSettings : EJTagHelper

    Constructors

    ChartSeriesLabelSettings()

    Declaration
    public ChartSeriesLabelSettings()

    Properties

    Background

    Specifies the background color of the inline series label.

    Declaration
    public string Background { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "transparent"

    Border

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

    Declaration
    public ChartSeriesLabelBorder Border { get; set; }
    Property Value
    Type Description
    ChartSeriesLabelBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Font

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

    Declaration
    public ChartLabelSettingsStyle Font { get; set; }
    Property Value
    Type Description
    ChartLabelSettingsStyle

    The default value is null

    Opacity

    Sets the opacity of the series label.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    ShowOverlapText

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

    Declaration
    public bool ShowOverlapText { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Text

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

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Visible

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

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved