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

Defines the fluent API for configuring ChartXAxisTitleSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartXAxisTitleSettingsBuilder<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 ChartXAxisTitleSettingsBuilder<T> class.

C#
public ChartXAxisTitleSettingsBuilder(ChartXAxisTitleSettings<T> container)
Parameters:containerChartXAxisTitleSettings<T>

The ChartXAxisTitleSettings<T> container

Properties

Gets the ChartXAxisTitleSettings<T> container.

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

Methods

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

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

The value for Background

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

The border of the title.

C#
public ChartXAxisTitleSettingsBuilder<T> Border(Action<ChartXAxisTitleBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisTitleBorderSettingsBuilder<T>>

The ChartXAxisTitleBorderSettingsBuilder<T> for the border setting.

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current instance of ChartXAxisTitleSettingsBuilder<T> .

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

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

The value for Color

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

The font style of the title.

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

The value for Font

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

The margin of the title. A numeric value will set all margins.

C#
public ChartXAxisTitleSettingsBuilder<T> Margin(Action<ChartXAxisTitleMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisTitleMarginSettingsBuilder<T>>

The ChartXAxisTitleMarginSettingsBuilder<T> for the margin setting.

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current instance of ChartXAxisTitleSettingsBuilder<T> .

The padding of the title. A numeric value will set all paddings.

C#
public ChartXAxisTitleSettingsBuilder<T> Padding(Action<ChartXAxisTitlePaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisTitlePaddingSettingsBuilder<T>>

The ChartXAxisTitlePaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current instance of ChartXAxisTitleSettingsBuilder<T> .

Specifies the title position.

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

The value for Position

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

The rotation angle of the title. By default the title is not rotated.

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

The value for Rotation

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

The text of the title.

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

The value for Text

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.

If set to true the chart will display the scatter chart x axis title. By default the scatter chart x axis title is visible.

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

The value for Visible

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<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 ChartXAxisTitleSettingsBuilder<T> Visual(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<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 ChartXAxisTitleSettingsBuilder<T> Visual(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartXAxisTitleSettingsBuilder<T>

Returns the current ChartXAxisTitleSettingsBuilder<T> instance.