menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class StockChartMajorGridLines

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    StockChartMajorGridLines
    StockChartPrimaryXAxisMajorGridLines
    StockChartPrimaryYAxisMajorGridLines
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class StockChartMajorGridLines : EJTagHelper

    Constructors

    StockChartMajorGridLines()

    Declaration
    public StockChartMajorGridLines()

    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