Kendo UI majorGridLines TagHelper ChartValueAxisMajorGridLinesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("major-grid-lines", ParentTag = "value-axis-item", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChartValueAxisMajorGridLinesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartValueAxisMajorGridLinesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<value-axis>
<value-axis-item>
<major-grid-lines color="#ff0000" />
</value-axis-item>
</value-axis>
</kendo-chart>
Constructors
Initializes a new instance of the ChartValueAxisMajorGridLinesSettingsTagHelper class.
public ChartValueAxisMajorGridLinesSettingsTagHelper()
Properties
The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
The dash type of the major grid lines.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
public DashType? DashType { get; set; }
The type of grid lines to draw for radar charts: "line" - draws straight lines. or "arc" - draws arcs.. The default type is "line" except for "radarColumn" charts.
public string Type { get; set; }
If set to false the chart will not display the major grid lines. By default the major grid lines are visible.
public bool? Visible { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.