New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChartCategoryAxisTitleSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartCategoryAxisTitleSettingsBuilder<T> where T : class

Inheritance: objectChartCategoryAxisTitleSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartCategoryAxisTitleSettingsBuilder<T> class.

C#
public ChartCategoryAxisTitleSettingsBuilder(ChartCategoryAxisTitleSettings<T> container)
Parameters:containerChartCategoryAxisTitleSettings<T>

The ChartCategoryAxisTitleSettings<T> container

Properties

Gets the ChartCategoryAxisTitleSettings<T> container.

C#
protected ChartCategoryAxisTitleSettings<T> Container { get; }

Methods

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartCategoryAxisTitleSettingsBuilder<T>

Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.

The border of the title.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Border(Action<ChartCategoryAxisTitleBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartCategoryAxisTitleBorderSettingsBuilder<T>>

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.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

ChartCategoryAxisTitleSettingsBuilder<T>

Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.

The font style of the title.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Font(string value)
Parameters:valuestring

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.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Margin(Action<ChartCategoryAxisTitleMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartCategoryAxisTitleMarginSettingsBuilder<T>>

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.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Padding(Action<ChartCategoryAxisTitlePaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartCategoryAxisTitlePaddingSettingsBuilder<T>>

The ChartCategoryAxisTitlePaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartCategoryAxisTitleSettingsBuilder<T>

Returns the current instance of ChartCategoryAxisTitleSettingsBuilder<T> .

Specifies the title position.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Position(ChartAxisTitlePosition value)
Parameters:valueChartAxisTitlePosition

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.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Rotation(double value)
Parameters:valuedouble

The value for Rotation

Returns:

ChartCategoryAxisTitleSettingsBuilder<T>

Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.

The text of the title.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Text(string value)
Parameters:valuestring

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.

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

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..

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Visual(Func<object, object> handler)
Parameters:handlerFunc<object, object>

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..

C#
public ChartCategoryAxisTitleSettingsBuilder<T> Visual(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartCategoryAxisTitleSettingsBuilder<T>

Returns the current ChartCategoryAxisTitleSettingsBuilder<T> instance.