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

Defines the fluent API for configuring ChartXAxisLabelsRotationSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartXAxisLabelsRotationSettingsBuilder<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 ChartXAxisLabelsRotationSettingsBuilder<T> class.

C#
public ChartXAxisLabelsRotationSettingsBuilder(ChartXAxisLabelsRotationSettings<T> container)
Parameters:containerChartXAxisLabelsRotationSettings<T>

The ChartXAxisLabelsRotationSettings<T> container

Properties

Gets the ChartXAxisLabelsRotationSettings<T> container.

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

Methods

Specifies the rotation of the labels.

C#
public ChartXAxisLabelsRotationSettingsBuilder<T> Align(ChartAxisLabelRotationAlignment value)
Parameters:valueChartAxisLabelRotationAlignment

The value for Align

Returns:

ChartXAxisLabelsRotationSettingsBuilder<T>

Returns the current ChartXAxisLabelsRotationSettingsBuilder<T> instance.

The rotation angle of the labels. By default the labels are not rotated. Can be set to "auto" in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.

C#
public ChartXAxisLabelsRotationSettingsBuilder<T> Angle(double value)
Parameters:valuedouble

The value for Angle

Returns:

ChartXAxisLabelsRotationSettingsBuilder<T>

Returns the current ChartXAxisLabelsRotationSettingsBuilder<T> instance.