Class ChartMajorGridLinesBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartMajorGridLinesBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Charts.dll
Syntax
public class ChartMajorGridLinesBuilder : ControlBuilder
Constructors
ChartMajorGridLinesBuilder()
Declaration
public ChartMajorGridLinesBuilder()
ChartMajorGridLinesBuilder(ChartMajorGridLines)
Declaration
public ChartMajorGridLinesBuilder(ChartMajorGridLines model)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartMajorGridLines | model |
Methods
Color(String)
Specifies the color of the major grid line, accepting hex and rgba values as valid CSS color strings.
Declaration
public ChartMajorGridLinesBuilder Color(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| ChartMajorGridLinesBuilder |
DashArray(String)
The dash array of the grid lines, defining the pattern of dashes and gaps for the major grid lines on the axis.
Declaration
public ChartMajorGridLinesBuilder DashArray(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| ChartMajorGridLinesBuilder |
Width(Double)
The width of the major grid lines in pixels, determining the thickness of the lines on the axis.
Declaration
public ChartMajorGridLinesBuilder Width(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| ChartMajorGridLinesBuilder |