Class Chart3DMajorGridLines
Gets or sets the major grid lines of the SfChart3D axis.
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DMajorGridLines : Chart3DDefaultBorder, IChart3DSubcomponentTracker
Remarks
Use this Chart3DMajorGridLines class to customize the major grid lines of the SfChart3D axis. The major grid lines are the horizontal or vertical lines that run across the plot area to help in better understanding the data points on the chart.
Constructors
Chart3DMajorGridLines()
Declaration
public Chart3DMajorGridLines()
Properties
Color
Gets or sets the color of the major grid line.
Declaration
public override 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 SfChart3D theme. By default, the theme is set to Bootstrap5 with a major grid line color of #E5E7EB. |
Overrides
Remarks
Use valid hex or rgba CSS color strings for the color value.
Width
Gets or sets the width of the major grid line in pixels.
Declaration
public override 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. |
Overrides
Remarks
Set this property to customize the width of the major grid line in the SfChart3D axis.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()