New to Telerik UI for ASP.NET Core? Download free 30-day trial

ChartAxisDefaultsMajorGridLinesSettingsTagHelper

Example

<major-grid-lines/>

Attributes

Attribute Type Description
color String The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb.
dash-type DashType 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.
skip Double The skip of the axis major grid lines.
step Double The step of the axis major grid lines.
visible Boolean If set to false the chart will not display the major grid lines. By default the major grid lines are visible.
width Double The width of the axis major grid lines in pixels.
In this article
Not finding the help you need?