Defines the fluent API for configuring ChartAxisDefaultsTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartAxisDefaultsTitleSettingsBuilder<T> where T : class
Inheritance: objectChartAxisDefaultsTitleSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartAxisDefaultsTitleSettingsBuilder<T> class.
public ChartAxisDefaultsTitleSettingsBuilder(ChartAxisDefaultsTitleSettings<T> container)
The ChartAxisDefaultsTitleSettings<T> container
Properties
Gets the ChartAxisDefaultsTitleSettings<T> container.
protected ChartAxisDefaultsTitleSettings<T> Container { get; }
Methods
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartAxisDefaultsTitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
The border of the title.
public ChartAxisDefaultsTitleSettingsBuilder<T> Border(Action<ChartAxisDefaultsTitleBorderSettingsBuilder<T>> configurator)
The ChartAxisDefaultsTitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current instance of ChartAxisDefaultsTitleSettingsBuilder<T> .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartAxisDefaultsTitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
The font style of the title.
public ChartAxisDefaultsTitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
The margin of the title. A numeric value will set all margins.
public ChartAxisDefaultsTitleSettingsBuilder<T> Margin(Action<ChartAxisDefaultsTitleMarginSettingsBuilder<T>> configurator)
The ChartAxisDefaultsTitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current instance of ChartAxisDefaultsTitleSettingsBuilder<T> .
The padding of the title. A numeric value will set all paddings.
public ChartAxisDefaultsTitleSettingsBuilder<T> Padding(Action<ChartAxisDefaultsTitlePaddingSettingsBuilder<T>> configurator)
The ChartAxisDefaultsTitlePaddingSettingsBuilder<T> for the padding setting.
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current instance of ChartAxisDefaultsTitleSettingsBuilder<T> .
The position of the title.The supported values are: "top" - the axis title is positioned on the top (applicable to vertical axis); "bottom" - the axis title is positioned on the bottom (applicable to vertical axis); "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 ChartAxisDefaultsTitleSettingsBuilder<T> Position(string value)
The value for Position
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
The rotation angle of the title. By default the title is not rotated.
public ChartAxisDefaultsTitleSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
The text of the title.
public ChartAxisDefaultsTitleSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.
If set to true the chart will display the axis title. By default the axis title is visible.
public ChartAxisDefaultsTitleSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<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.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..
public ChartAxisDefaultsTitleSettingsBuilder<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<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.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..
public ChartAxisDefaultsTitleSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartAxisDefaultsTitleSettingsBuilder<T>
Returns the current ChartAxisDefaultsTitleSettingsBuilder<T> instance.