Defines the fluent API for configuring ChartPaneDefaultsTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartPaneDefaultsTitleSettingsBuilder<T> where T : class
Inheritance: objectChartPaneDefaultsTitleSettingsBuilder<T>
Inherited Members
Constructors
ChartPaneDefaultsTitleSettingsBuilder method.
public ChartPaneDefaultsTitleSettingsBuilder(ChartPaneDefaultsTitleSettings<T> container)
Properties
Gets or sets the Container.
protected ChartPaneDefaultsTitleSettings<T> Container { get; }
Methods
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartPaneDefaultsTitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.
The border of the title.
public ChartPaneDefaultsTitleSettingsBuilder<T> Border(Action<ChartPaneDefaultsTitleBorderSettingsBuilder<T>> configurator)
The ChartPaneDefaultsTitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current instance of ChartPaneDefaultsTitleSettingsBuilder<T> .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartPaneDefaultsTitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.
The font style of the title.
public ChartPaneDefaultsTitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.
The margin of the title. A numeric value will set all margins.
public ChartPaneDefaultsTitleSettingsBuilder<T> Margin(Action<ChartPaneDefaultsTitleMarginSettingsBuilder<T>> configurator)
The ChartPaneDefaultsTitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current instance of ChartPaneDefaultsTitleSettingsBuilder<T> .
The position of the title.The supported values are: "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center.
public ChartPaneDefaultsTitleSettingsBuilder<T> Position(string value)
The value for Position
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.
A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered. or sender - the chart instance (may be undefined)..
public ChartPaneDefaultsTitleSettingsBuilder<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.
A function that can be used to create a custom visual for the title. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered. or sender - the chart instance (may be undefined)..
public ChartPaneDefaultsTitleSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartPaneDefaultsTitleSettingsBuilder<T>
Returns the current ChartPaneDefaultsTitleSettingsBuilder<T> instance.