menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Chart3DMajorGridLines - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Chart3DMajorGridLines

    Gets or sets the major grid lines of the SfChart3D axis.

    Inheritance
    System.Object
    Chart3DSubComponent
    Chart3DDefaultBorder
    Chart3DMajorGridLines
    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
    Chart3DDefaultBorder.Color
    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
    Chart3DDefaultBorder.Width
    Remarks

    Set this property to customize the width of the major grid line in the SfChart3D axis.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved