Kendo UI rotation TagHelper ChartYAxisLabelsRotationSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("chart-y-axis-labels-rotation", ParentTag = "labels", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartYAxisLabelsRotationSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartYAxisLabelsRotationSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<y-axis>
<y-axis-item>
<labels>
<chart-y-axis-labels-rotation align="center" />
</labels>
</y-axis-item>
</y-axis>
</kendo-chart>
Constructors
Initializes a new instance of the ChartYAxisLabelsRotationSettingsTagHelper class.
C#
public ChartYAxisLabelsRotationSettingsTagHelper()
Properties
The alignment of the rotated labels relative to the slot center. The supported values are "end" and "center". By default the closest end of the label will be aligned to the center. If set to "center", the center of the rotated label will be aligned instead.
C#
public string Align { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.