ChartAxisLabelsRotationBuilder

Methods

Angle(System.String)

Sets the axis labels rotation angle.

Parameters

rotation - System.String

The value that configures the rotation angle.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("chart")
                       .CategoryAxis(axis => axis
                           .Labels(labels => labels.Rotation("90"))
                       )
            )
             

Angle(System.Int32)

Sets the axis labels rotation angle.

Parameters

rotation - System.Int32

The value that configures the rotation angle.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("chart")
                       .CategoryAxis(axis => axis
                           .Labels(labels => labels.Rotation(90))
                       )
            )
             

Align(Kendo.Mvc.UI.ChartAxisLabelRotationAlignment)

Sets the axis labels rotation alignment.

Parameters

align - ChartAxisLabelRotationAlignment

The ChartAxisLabelRotationAlignment configuration.

Example

Razor
 
            @(Html.Kendo().Chart()
                       .Name("chart")
                       .CategoryAxis(axis => axis
                           .Labels(labels => labels.Rotation(r => r.Align(ChartAxisLabelRotationAlignment.Center)))
                       )
            )