menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartMajorGridLines - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartMajorGridLines

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ChartMajorGridLines
    AxisMajorGridLinesPrimaryXAxis
    AxisMajorGridLinesPrimaryYAxis
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartMajorGridLines : EJTagHelper

    Constructors

    ChartMajorGridLines()

    Declaration
    public ChartMajorGridLines()

    Properties

    Color

    Specifies the color of the major grid line, accepting hex and rgba values as valid CSS color strings.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    DashArray

    The dash array of the grid lines, defining the pattern of dashes and gaps for the major grid lines on the axis.

    Declaration
    public string DashArray { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Width

    The width of the major grid lines in pixels, determining the thickness of the lines on the axis.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

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