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

Defines the fluent API for configuring ChartXAxisLabelsDateFormatsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartXAxisLabelsDateFormatsSettingsBuilder<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 ChartXAxisLabelsDateFormatsSettingsBuilder<T> class.

C#
public ChartXAxisLabelsDateFormatsSettingsBuilder(ChartXAxisLabelsDateFormatsSettings<T> container)
Parameters:containerChartXAxisLabelsDateFormatsSettings<T>

The ChartXAxisLabelsDateFormatsSettings<T> container

Properties

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

Methods

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

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

The value for Days

Returns:

ChartXAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartXAxisLabelsDateFormatsSettingsBuilder<T> instance.

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

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

The value for Hours

Returns:

ChartXAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartXAxisLabelsDateFormatsSettingsBuilder<T> instance.

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

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

The value for Months

Returns:

ChartXAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartXAxisLabelsDateFormatsSettingsBuilder<T> instance.

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

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

The value for Weeks

Returns:

ChartXAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartXAxisLabelsDateFormatsSettingsBuilder<T> instance.

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

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

The value for Years

Returns:

ChartXAxisLabelsDateFormatsSettingsBuilder<T>

Returns the current ChartXAxisLabelsDateFormatsSettingsBuilder<T> instance.