Class MajorGridLines
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MajorGridLines : EJTagHelper
Constructors
MajorGridLines()
Declaration
public MajorGridLines()
Properties
Color
Gets or sets the Color of the MajorGridLines, which provides an option to customize color of axis grid lines.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Color of the grid line.
DashArray
Gets or sets the DashArray of the MajorGridLines, which provides an option to customize dash array of axis grid lines.
Declaration
[JsonProperty("dashArray")]
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Pattern of dashes and gaps used to stroke the major grid lines.
Opacity
Gets or sets the Opacity of the MajorGridLines, which customizes opacity of axis major grid lines whose values ranges from 0 to 1.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Opacity of major grid lines.
Visible
Gets or sets the value of Visible property of the MajorGridLines, which controls the visibility of grid lines.
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Show/hides the major grid lines.
Width
Gets or sets the Width of the MajorGridLines, which provides an option to customize the grid line width of an axis.
Declaration
[JsonProperty("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Width of the major grid lines.