Class ChartAxisMinorGridLines
Represents the options to customize the minor grid lines of a chart axis in the Syncfusion Blazor chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartAxisMinorGridLines : ChartSubComponent, ISubcomponentTracker
Constructors
ChartAxisMinorGridLines()
Declaration
public ChartAxisMinorGridLines()
Properties
Color
Gets or sets the color of the minor grid line.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color of the minor grid line. The default minor grid line color is determined by the chart's theme. By default, the theme is set to Material with a minor grid line color of #eaeaea. |
Remarks
Use valid hex or rgba CSS color strings for the color value.
DashArray
Gets or sets the dash array of the minor grid line.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the dash array of the minor grid line. The default value is an empty string. |
Remarks
The dash array specifies a pattern of dashes and gaps used for the grid line, using a series of numbers that define lengths of dashes and gaps.
Width
Gets or sets the width of the minor grid line in pixels.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the width of the minor grid line in pixels. The default value is 0.7. |
Remarks
The width sets the thickness of the grid line on the chart.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()