ChartAxisLabelsRotationBuilder
Methods
Angle(System.String)
Sets the axis labels rotation angle.
Parameters
rotation - System.String
The value that configures the rotation angle.
Example
@(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
@(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
@(Html.Kendo().Chart()
.Name("chart")
.CategoryAxis(axis => axis
.Labels(labels => labels.Rotation(r => r.Align(ChartAxisLabelRotationAlignment.Center)))
)
)