Class ChartTitleSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartTitleSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartTitleSettingsBuilder : ControlBuilder
Constructors
ChartTitleSettingsBuilder()
Declaration
public ChartTitleSettingsBuilder()
ChartTitleSettingsBuilder(ChartTitleSettings)
Declaration
public ChartTitleSettingsBuilder(ChartTitleSettings model)
Parameters
Methods
Accessibility(TitleSettingsAccessibility)
Options to improve accessibility for chart title and subtitle elements.
Declaration
public ChartTitleSettingsBuilder Accessibility(TitleSettingsAccessibility value)
Parameters
Returns
Accessibility(Action<ChartAccessibilityBuilder>)
Declaration
public ChartTitleSettingsBuilder Accessibility(Action<ChartAccessibilityBuilder> accessibility)
Parameters
Returns
Background(String)
The background
property sets the background color of the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder Background(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Border(Object)
The border
property allows configuring the border settings for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder Border(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Color(String)
The color
property specifies the color of the text used for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder Color(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontFamily(String)
The fontFamily
property specifies the font family for the text used in the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder FontFamily(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontStyle(String)
The fontStyle
property specifies the style of the text used for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder FontStyle(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
FontWeight(String)
The fontWeight
property specifies the weight (thickness) of the text used for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder FontWeight(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Opacity(Double)
Specifies the opacity for the text.
Declaration
public ChartTitleSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(TitlePosition)
Defines the position for the chart title and subtitle.
The available options are:
Top: Displays the title and subtitle at the top of the chart.
Left: Displays the title and subtitle at the left of the chart.
Bottom: Displays the title and subtitle at the bottom of the chart.
Right: Displays the title and subtitle at the right of the chart.
Custom: Displays the title and subtitle based on the specified x and y values.
Declaration
public ChartTitleSettingsBuilder Position(TitlePosition value)
Parameters
Returns
Size(String)
Specifies the font size for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder Size(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextAlignment(Alignment)
The textAlignment
property determines how the text is aligned within the specified area.
Declaration
public ChartTitleSettingsBuilder TextAlignment(Alignment value)
Parameters
Returns
TextOverflow(TextOverflow)
The textOverflow
property determines how the text in the chart title and subtitle behaves when it exceeds the available space.
Declaration
public ChartTitleSettingsBuilder TextOverflow(TextOverflow value)
Parameters
Returns
X(Double)
Defines the X coordinate for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder X(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Y(Double)
Defines the Y coordinate for the chart title and subtitle.
Declaration
public ChartTitleSettingsBuilder Y(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns