Class StockChartSeriesLabelSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartSeriesLabelSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartSeriesLabelSettingsBuilder : ControlBuilder
Constructors
StockChartSeriesLabelSettingsBuilder()
Declaration
public StockChartSeriesLabelSettingsBuilder()
StockChartSeriesLabelSettingsBuilder(StockChartSeriesLabelSettings)
Declaration
public StockChartSeriesLabelSettingsBuilder(StockChartSeriesLabelSettings model)
Parameters
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
Border(StockChartSeriesLabelBorder)
Specifies the border properties for the inline label.
Includes color and width.
Declaration
public StockChartSeriesLabelSettingsBuilder Border(StockChartSeriesLabelBorder value)
Parameters
Returns
Border(Action<StockChartBorderBuilder>)
Declaration
public StockChartSeriesLabelSettingsBuilder Border(Action<StockChartBorderBuilder> border)
Parameters
Returns
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
Returns
Font(Action<StockChartFontBuilder>)
Declaration
public StockChartSeriesLabelSettingsBuilder Font(Action<StockChartFontBuilder> font)
Parameters
Returns
Opacity(Double)
Sets the opacity of the series label.
Declaration
public StockChartSeriesLabelSettingsBuilder 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 StockChartSeriesLabelSettingsBuilder 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 StockChartSeriesLabelSettingsBuilder 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 StockChartSeriesLabelSettingsBuilder Visible(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns