Defines the fluent API for configuring ChartCategoryAxisTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartCategoryAxisTitleSettingsBuilder<T> where T : class
Inheritance: objectChartCategoryAxisTitleSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartCategoryAxisTitleSettingsBuilder<T> class.
public ChartCategoryAxisTitleSettingsBuilder(ChartCategoryAxisTitleSettings<T> container)
The ChartCategoryAxisTitleSettings<T> container
Properties
Gets the ChartCategoryAxisTitleSettings<T> container.
protected ChartCategoryAxisTitleSettings<T> Container { get; }
Methods
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartCategoryAxisTitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
The border of the title.
public ChartCategoryAxisTitleSettingsBuilder<T> Border(Action<ChartCategoryAxisTitleBorderSettingsBuilder<T>> configurator)
The ChartCategoryAxisTitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current instance of ChartCategoryAxisTitleSettingsBuilder<T> .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartCategoryAxisTitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
The font style of the title.
public ChartCategoryAxisTitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
The margin of the title. A numeric value will set all margins.
public ChartCategoryAxisTitleSettingsBuilder<T> Margin(Action<ChartCategoryAxisTitleMarginSettingsBuilder<T>> configurator)
The ChartCategoryAxisTitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current instance of ChartCategoryAxisTitleSettingsBuilder<T> .
The padding of the title. A numeric value will set all paddings.
public ChartCategoryAxisTitleSettingsBuilder<T> Padding(Action<ChartCategoryAxisTitlePaddingSettingsBuilder<T>> configurator)
The ChartCategoryAxisTitlePaddingSettingsBuilder<T> for the padding setting.
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current instance of ChartCategoryAxisTitleSettingsBuilder<T> .
Specifies the title position.
public ChartCategoryAxisTitleSettingsBuilder<T> Position(ChartAxisTitlePosition value)
The value for Position
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
The rotation angle of the title. By default the title is not rotated.
public ChartCategoryAxisTitleSettingsBuilder<T> Rotation(double value)
The value for Rotation
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
The text of the title.
public ChartCategoryAxisTitleSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.
If set to true the chart will display the category axis title. By default the category axis title is visible.
public ChartCategoryAxisTitleSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<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 ChartCategoryAxisTitleSettingsBuilder<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<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 ChartCategoryAxisTitleSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartCategoryAxisTitleSettingsBuilder<T>
Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.