menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartAxisLine

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ChartAxisLine
    AxisLineStylePrimaryXAxis
    AxisLineStylePrimaryYAxis
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartAxisLine : EJTagHelper

    Constructors

    ChartAxisLine()

    Declaration
    public ChartAxisLine()

    Properties

    Color

    Specifies the color of the axis line. Accepts values in hex and rgba formats 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 axis line, defining the pattern of dashes and gaps for the axis line.

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

    The default value is ""

    Width

    The width of the axis line 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