Class ChartSeriesLabelSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartSeriesLabelSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartSeriesLabelSettingsBuilder : ControlBuilder
Constructors
ChartSeriesLabelSettingsBuilder()
Declaration
public ChartSeriesLabelSettingsBuilder()
ChartSeriesLabelSettingsBuilder(ChartSeriesLabelSettings)
Declaration
public ChartSeriesLabelSettingsBuilder(ChartSeriesLabelSettings model)
Parameters
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
Border(ChartSeriesLabelBorder)
Specifies the border properties for the inline label.
Includes color and width.
Declaration
public ChartSeriesLabelSettingsBuilder Border(ChartSeriesLabelBorder value)
Parameters
Returns
Border(Action<ChartBorderBuilder>)
Declaration
public ChartSeriesLabelSettingsBuilder Border(Action<ChartBorderBuilder> border)
Parameters
Returns
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
Returns
Font(Action<ChartFontBuilder>)
Declaration
public ChartSeriesLabelSettingsBuilder Font(Action<ChartFontBuilder> font)
Parameters
Returns
Opacity(Double)
Sets the opacity of the series label.
Declaration
public ChartSeriesLabelSettingsBuilder Opacity(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
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
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
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