Kendo.Mvc.UI.Fluent.ChartAxisRangeLabelsBuilder
Defines the fluent interface for configuring the chart labels.
Methods
Mirror(System.Boolean)
Renders the axis labels on the other side.
Parameters
mirror System.Boolean
A value indicating whether to render the axis labels on the other side.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis
.Numeric().RangeLabels(labels => labels.Mirror(true))
)
.CategoryAxis(axis => axis
.Categories(s => s.DateString)
// Move the value axis to the right side
.AxisCrossingValue(5)
)
)
Rotation(System.String)
Specifies the labels rotation angle.
Parameters
rotation System.String
The rotation angle of the labels.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis
.Numeric()
.Min(0).Max(100)
.RanngeLabels(lbl=>lbl.Rotation(-45))
)
)
Rotation(System.Action<Kendo.Mvc.UI.Fluent.ChartAxisLabelsRotationBuilder>)
Specifies the labels rotation.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartAxisLabelsRotationBuilder>
The labels rotation configurator.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(axis => axis
.Numeric()
.Min(0).Max(100)
.RangeLabels(lbl=>lbl.Rotation(rotate=>rotate.Angle(-45)))
)
)