Class ChartMajorGridLinesBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartMajorGridLinesBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.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
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
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 |