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

Defines the fluent API for configuring ChartYAxisLabelsDateFormatsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartYAxisLabelsDateFormatsSettingsBuilder<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 ChartYAxisLabelsDateFormatsSettingsBuilder<T> class.

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder(ChartYAxisLabelsDateFormatsSettings<T> container)
Parameters:containerChartYAxisLabelsDateFormatsSettings<T>

The ChartYAxisLabelsDateFormatsSettings<T> container

Properties

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

Methods

The format used when yAxis.baseUnit is set to "days".

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder<T> Days(string value)
Parameters:valuestring

The value for Days

Returns:

ChartYAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartYAxisLabelsDateFormatsSettingsBuilder<T> instance.

The format used when yAxis.baseUnit is set to "hours".

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder<T> Hours(string value)
Parameters:valuestring

The value for Hours

Returns:

ChartYAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartYAxisLabelsDateFormatsSettingsBuilder<T> instance.

The format used when yAxis.baseUnit is set to "months".

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder<T> Months(string value)
Parameters:valuestring

The value for Months

Returns:

ChartYAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartYAxisLabelsDateFormatsSettingsBuilder<T> instance.

The format used when yAxis.baseUnit is set to "weeks".

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder<T> Weeks(string value)
Parameters:valuestring

The value for Weeks

Returns:

ChartYAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartYAxisLabelsDateFormatsSettingsBuilder<T> instance.

The format used when yAxis.baseUnit is set to "years".

C#
public ChartYAxisLabelsDateFormatsSettingsBuilder<T> Years(string value)
Parameters:valuestring

The value for Years

Returns:

ChartYAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartYAxisLabelsDateFormatsSettingsBuilder<T> instance.