Defines the fluent API for configuring ChartSubtitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartSubtitleSettingsBuilder<T> where T : class
Inheritance: objectChartSubtitleSettingsBuilder<T>
Inherited Members
Constructors
ChartSubtitleSettingsBuilder method.
public ChartSubtitleSettingsBuilder(ChartSubtitleSettings<T> container)
Properties
Gets or sets the Container.
protected ChartSubtitleSettings<T> Container { get; }
Methods
The alignment of the subtitle. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right.. By default, the subtitle has the same alignment as the title.
public ChartSubtitleSettingsBuilder<T> Align(string value)
The value for Align
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
The background color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
public ChartSubtitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
The border of the subtitle.
public ChartSubtitleSettingsBuilder<T> Border(Action<ChartSubtitleBorderSettingsBuilder<T>> configurator)
The ChartSubtitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current instance of ChartSubtitleSettingsBuilder<T> .
The text color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
public ChartSubtitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
The font of the title.
public ChartSubtitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
The margin of the subtitle. A numeric value will set all margins.
public ChartSubtitleSettingsBuilder<T> Margin(Action<ChartSubtitleMarginSettingsBuilder<T>> configurator)
The ChartSubtitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current instance of ChartSubtitleSettingsBuilder<T> .
The padding of the subtitle. A numeric value will set all margins.
public ChartSubtitleSettingsBuilder<T> Padding(Action<ChartSubtitlePaddingSettingsBuilder<T>> configurator)
The ChartSubtitlePaddingSettingsBuilder<T> for the padding setting.
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current instance of ChartSubtitleSettingsBuilder<T> .
The position of the subtitle. "bottom" - the title is positioned on the bottom. or "top" - the title is positioned on the top.. By default, the subtitle is placed in the same position as the title.
public ChartSubtitleSettingsBuilder<T> Position(string value)
The value for Position
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
The text of the chart subtitle. You can also set the text directly for a title with default options.
public ChartSubtitleSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.
If set to true the chart will display the subtitle. By default the subtitle will be displayed.
public ChartSubtitleSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartSubtitleSettingsBuilder<T>
Returns the current ChartSubtitleSettingsBuilder<T> instance.