Class ChartTitleSettingsBuilder
Inheritance
System.Object
ChartTitleSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartTitleSettingsBuilder : ControlBuilder
Constructors
ChartTitleSettingsBuilder()
Declaration
public ChartTitleSettingsBuilder()
ChartTitleSettingsBuilder(ChartTitleSettings)
Declaration
public ChartTitleSettingsBuilder(ChartTitleSettings model)
Parameters
Methods
Background(String)
Background of the title border.
Declaration
public ChartTitleSettingsBuilder Background(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Border(Object)
Options to customize the border of the chart title.
Declaration
public ChartTitleSettingsBuilder Border(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Color(String)
Declaration
public ChartTitleSettingsBuilder Color(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontFamily(String)
Declaration
public ChartTitleSettingsBuilder FontFamily(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontStyle(String)
Declaration
public ChartTitleSettingsBuilder FontStyle(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontWeight(String)
Declaration
public ChartTitleSettingsBuilder FontWeight(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Opacity(Double)
Declaration
public ChartTitleSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(TitlePosition)
Defines the position for the chart title.
Top: Displays the title at the top of the chart.
Left: Displays the title at the left of the chart.
Bottom: Displays the title at the bottom of the chart.
Right: Displays the title at the right of the chart.
Custom: Displays the title based on the given x and y values.
Declaration
public ChartTitleSettingsBuilder Position(TitlePosition value)
Parameters
Returns
Size(String)
Declaration
public ChartTitleSettingsBuilder Size(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextAlignment(Alignment)
Declaration
public ChartTitleSettingsBuilder TextAlignment(Alignment value)
Parameters
Returns
TextOverflow(TextOverflow)
Specifies the chart title text overflow.
Declaration
public ChartTitleSettingsBuilder TextOverflow(TextOverflow value)
Parameters
Returns
X(Double)
Defines the X coordinate for the chart title.
Declaration
public ChartTitleSettingsBuilder X(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Y(Double)
Defines the Y coordinate for the chart title.
Declaration
public ChartTitleSettingsBuilder Y(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns