Class SankeyChartLabelSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SankeyChartLabelSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Sankey.dll
Syntax
public class SankeyChartLabelSettingsBuilder : ControlBuilder
Constructors
SankeyChartLabelSettingsBuilder()
Declaration
public SankeyChartLabelSettingsBuilder()
SankeyChartLabelSettingsBuilder(SankeyChartLabelSettings)
Declaration
public SankeyChartLabelSettingsBuilder(SankeyChartLabelSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| SankeyChartLabelSettings | model |
Methods
Color(String)
Sets text color for labels.
Declaration
public SankeyChartLabelSettingsBuilder Color(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
FontFamily(String)
Applies a specific font family to labels.
Declaration
public SankeyChartLabelSettingsBuilder FontFamily(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
FontSize(Double)
Controls label size.
Declaration
public SankeyChartLabelSettingsBuilder FontSize(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
FontSize(String)
Controls label size.
Declaration
public SankeyChartLabelSettingsBuilder FontSize(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
FontStyle(String)
Enables text styles such as italic.
Declaration
public SankeyChartLabelSettingsBuilder FontStyle(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
FontWeight(String)
Sets text weight (for example, 400 for normal, 700 for bold).
Declaration
public SankeyChartLabelSettingsBuilder FontWeight(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
Padding(Double)
Adds space around text for better placement.
Declaration
public SankeyChartLabelSettingsBuilder Padding(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |
Visible(Boolean)
Shows or hides labels.
Declaration
public SankeyChartLabelSettingsBuilder Visible(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SankeyChartLabelSettingsBuilder |