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

Defines the fluent API for configuring ChartYAxisTitleSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartYAxisTitleSettingsBuilder<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 ChartYAxisTitleSettingsBuilder<T> class.

C#
public ChartYAxisTitleSettingsBuilder(ChartYAxisTitleSettings<T> container)
Parameters:containerChartYAxisTitleSettings<T>

The ChartYAxisTitleSettings<T> container

Properties

Gets the ChartYAxisTitleSettings<T> container.

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

Methods

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

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

The value for Background

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

The border of the title.

C#
public ChartYAxisTitleSettingsBuilder<T> Border(Action<ChartYAxisTitleBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisTitleBorderSettingsBuilder<T>>

The ChartYAxisTitleBorderSettingsBuilder<T> for the border setting.

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .

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

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

The value for Color

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

The font style of the title.

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

The value for Font

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

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

C#
public ChartYAxisTitleSettingsBuilder<T> Margin(Action<ChartYAxisTitleMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisTitleMarginSettingsBuilder<T>>

The ChartYAxisTitleMarginSettingsBuilder<T> for the margin setting.

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .

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

C#
public ChartYAxisTitleSettingsBuilder<T> Padding(Action<ChartYAxisTitlePaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisTitlePaddingSettingsBuilder<T>>

The ChartYAxisTitlePaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current instance of ChartYAxisTitleSettingsBuilder<T> .

Specifies the title position.

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

The value for Position

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

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

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

The value for Rotation

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

The text of the title.

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

The value for Text

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.

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

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

The value for Visible

Returns:

ChartYAxisTitleSettingsBuilder<T>

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

The handler code wrapped in a text tag.

Returns:

ChartYAxisTitleSettingsBuilder<T>

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

The name of the JavaScript function that will be evaluated.

Returns:

ChartYAxisTitleSettingsBuilder<T>

Returns the current ChartYAxisTitleSettingsBuilder<T> instance.