# ChartCategoryAxisMajorGridLinesSettingsBuilder

## Methods

### Visible()

Makes the major grid lines visible.

#### Example

```
 
            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .CategoryAxis(categoryAxis => categoryAxis.MajorGridLines(mgl => mgl.Visible())) 
            )
             
```

### Color(System.String)

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

#### Parameters

##### value - `System.String`

The value for Color

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.

### DashType(Kendo.Mvc.UI.ChartDashType)

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.

#### Parameters

##### value - [ChartDashType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/chartdashtype)

The value for DashType

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.

### Visible(System.Boolean)

If set to false the chart will not display the major grid lines. By default the major grid lines are visible.

#### Parameters

##### value - `System.Boolean`

The value for Visible

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .CategoryAxis(categoryAxis => categoryAxis.MajorGridLines(mgl => mgl.Visible())) 
            )
             
```

### Width(System.Double)

The width of the category axis major grid lines in pixels.

#### Parameters

##### value - `System.Double`

The value for Width

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.

### Step(System.Double)

The step of the category axis major grid lines.

#### Parameters

##### value - `System.Double`

The value for Step

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.

### Skip(System.Double)

The skip of the category axis major grid lines.

#### Parameters

##### value - `System.Double`

The value for Skip

#### RETURNS

Returns the current [ChartCategoryAxisMajorGridLinesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chartcategoryaxismajorgridlinessettingsbuilder) instance.
