menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeTickBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    LinearGaugeTickBuilder
    Namespace: Syncfusion.EJ2.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeTickBuilder : ControlBuilder

    Constructors

    LinearGaugeTickBuilder()

    Declaration
    public LinearGaugeTickBuilder()

    LinearGaugeTickBuilder(LinearGaugeTick)

    Declaration
    public LinearGaugeTickBuilder(LinearGaugeTick model)
    Parameters
    Type Name Description
    LinearGaugeTick model

    Methods

    Color(String)

    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 LinearGaugeTickBuilder Color(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    LinearGaugeTickBuilder

    Height(Double)

    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 LinearGaugeTickBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    LinearGaugeTickBuilder

    Interval(Double)

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

    Declaration
    public LinearGaugeTickBuilder Interval(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    LinearGaugeTickBuilder

    Offset(Double)

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

    Declaration
    public LinearGaugeTickBuilder Offset(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    LinearGaugeTickBuilder

    Position(Position)

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

    Declaration
    public LinearGaugeTickBuilder Position(Position value)
    Parameters
    Type Name Description
    Position value
    Returns
    Type
    LinearGaugeTickBuilder

    Width(Double)

    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 LinearGaugeTickBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    LinearGaugeTickBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved