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

ChartYAxisMajorGridLinesSettingsTagHelper

Example

<major-grid-lines/>

Attributes

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