Class ChartAxisMajorGridLines
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartAxisMajorGridLines : ChartSubComponent, ISubcomponentTracker
Constructors
ChartAxisMajorGridLines()
Declaration
public ChartAxisMajorGridLines()
Properties
Color
Gets or sets the color of the major grid line.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color of the major grid line. The default major grid line color is determined by the chart's theme. By default, the theme is set to Material with a major grid line color of #dbdbdb. |
Remarks
Use valid hex or rgba CSS color strings for the color value.
DashArray
Gets or sets the dash array of the major grid line.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the dash array of the major grid line. The default value is an empty string. |
Width
Gets or sets the width of the major grid line in pixels.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the width of the major grid line in pixels. The default value is 1. |
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()