<kendo:chart-yAxisItem-majorGridLines>

The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the chart.

Example

<kendo:chart-yAxisItem>
    <kendo:chart-yAxisItem-majorGridLines></kendo:chart-yAxisItem-majorGridLines>
</kendo:chart-yAxisItem>

Configuration Attributes

color java.lang.String

The color of the lines. Accepts a valid CSS color string, including hex and rgb.

Example

<kendo:chart-yAxisItem-majorGridLines color="color">
</kendo:chart-yAxisItem-majorGridLines>

dashType java.lang.String

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.

Example

<kendo:chart-yAxisItem-majorGridLines dashType="dashType">
</kendo:chart-yAxisItem-majorGridLines>

skip float

The skip of the y axis major grid lines.

Example

<kendo:chart-yAxisItem-majorGridLines skip="skip">
</kendo:chart-yAxisItem-majorGridLines>

step float

The step of the y axis major grid lines.

Example

<kendo:chart-yAxisItem-majorGridLines step="step">
</kendo:chart-yAxisItem-majorGridLines>

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.

Example

<kendo:chart-yAxisItem-majorGridLines visible="visible">
</kendo:chart-yAxisItem-majorGridLines>

width float

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

Example

<kendo:chart-yAxisItem-majorGridLines width="width">
</kendo:chart-yAxisItem-majorGridLines>
In this article
Not finding the help you need?