menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeTick

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    LinearGaugeTick
    AxisMinorTicksAxes
    Namespace: Syncfusion.EJ2.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeTick : EJTagHelper

    Constructors

    LinearGaugeTick()

    Declaration
    public LinearGaugeTick()

    Properties

    Color

    Sets and gets the color for the major or minor tick line. This property accepts value in hex code, rgba string as a valid CSS color string.

    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>

    Height

    Sets and gets the height of the tick line in the axis. The default value is 20 for major ticks and 10 for minor ticks.

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

    The default value is null

    Interval

    Sets and gets the gap between the ticks in the axis.

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

    The default value is Double.NaN

    Offset

    Sets and gets the offset value from where the ticks must be placed from the axis in linear gauge.

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

    The default value is Double.NaN

    Position

    Sets and gets the value to place the ticks in the axis.

    Declaration
    public Position Position { get; set; }
    Property Value
    Type Description
    Position

    The default value is Syncfusion.EJ2.LinearGauge.Position.Auto

    Width

    Sets and gets the width of the tick line in the axis. The default value is 2 for major ticks and 1 for minor ticks.

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

    The default value is 2

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