Defines the fluent interface for configuring the chart labels.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartAxisLabelsBuilder : ChartLabelsBuilderBase<ChartAxisLabelsBuilder>
Inheritance: objectChartLabelsBuilderBase<ChartAxisLabelsBuilder>ChartAxisLabelsBuilder
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the ChartAxisLabelsBuilder class.
public ChartAxisLabelsBuilder(ChartAxisLabels chartLabels)
The labels configuration.
Methods
If set to "true", the Chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
public ChartAxisLabelsBuilder Mirror(bool mirror)
A value indicating whether to render the axis labels on the other side.
Returns:Specifies the position of the labels.
public ChartAxisLabelsBuilder Position(ChartAxisLabelsPosition position)
The value that configures the position.
Returns:Specifies the rotation settings of the labels.
public ChartAxisLabelsBuilder Rotation(Action<ChartAxisLabelsRotationBuilder> configurator)
The action that configures the rotation settings.
Returns:Specifies the labels rotation angle.
public ChartAxisLabelsBuilder Rotation(string rotation)
The rotation angle of the labels.
Returns:Defines the number of labels to skip. By default, no labels are skipped.
public ChartAxisLabelsBuilder Skip(int skip)
The value that configures the number of labels to skip.
Returns:Defines the label rendering step (render every n-th label). By default, every label is rendered.
public ChartAxisLabelsBuilder Step(int step)
A value indicating the step at which labels are rendered. Every n-th label is rendered where n is the step.
Returns: