menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeRangeBuilder

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

    Constructors

    LinearGaugeRangeBuilder()

    Declaration
    public LinearGaugeRangeBuilder()

    LinearGaugeRangeBuilder(List<LinearGaugeRange>)

    Declaration
    public LinearGaugeRangeBuilder(List<LinearGaugeRange> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<LinearGaugeRange> collection

    Methods

    Add()

    Declaration
    public void Add()

    Border(LinearGaugeBorder)

    Sets and gets the options to customize the style properties of the border for the axis range.

    Declaration
    public LinearGaugeRangeBuilder Border(LinearGaugeBorder border)
    Parameters
    Type Name Description
    LinearGaugeBorder border
    Returns
    Type
    LinearGaugeRangeBuilder

    Border(Action<LinearGaugeBorderBuilder>)

    Declaration
    public LinearGaugeRangeBuilder Border(Action<LinearGaugeBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<LinearGaugeBorderBuilder> border
    Returns
    Type
    LinearGaugeRangeBuilder

    Color(String)

    Sets and gets the color of the axis range.

    Declaration
    public LinearGaugeRangeBuilder Color(string color)
    Parameters
    Type Name Description
    System.String color
    Returns
    Type
    LinearGaugeRangeBuilder

    End(Double)

    Sets and gets the end value for the range in axis.

    Declaration
    public LinearGaugeRangeBuilder End(double end)
    Parameters
    Type Name Description
    System.Double end
    Returns
    Type
    LinearGaugeRangeBuilder

    EndWidth(Double)

    Sets and gets the width for the end of the range in axis.

    Declaration
    public LinearGaugeRangeBuilder EndWidth(double endWidth)
    Parameters
    Type Name Description
    System.Double endWidth
    Returns
    Type
    LinearGaugeRangeBuilder

    LinearGradient(LinearGaugeLinearGradient)

    Sets and gets the properties to render a linear gradient for the range. If both linear and radial gradient is set, then the linear gradient will be rendered in the range.

    Declaration
    public LinearGaugeRangeBuilder LinearGradient(LinearGaugeLinearGradient linearGradient)
    Parameters
    Type Name Description
    LinearGaugeLinearGradient linearGradient
    Returns
    Type
    LinearGaugeRangeBuilder

    LinearGradient(Action<LinearGaugeLinearGradientBuilder>)

    Declaration
    public LinearGaugeRangeBuilder LinearGradient(Action<LinearGaugeLinearGradientBuilder> linearGradient)
    Parameters
    Type Name Description
    System.Action<LinearGaugeLinearGradientBuilder> linearGradient
    Returns
    Type
    LinearGaugeRangeBuilder

    Offset(Double)

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

    Declaration
    public LinearGaugeRangeBuilder Offset(double offset)
    Parameters
    Type Name Description
    System.Double offset
    Returns
    Type
    LinearGaugeRangeBuilder

    Offset(String)

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

    Declaration
    public LinearGaugeRangeBuilder Offset(string offset)
    Parameters
    Type Name Description
    System.String offset
    Returns
    Type
    LinearGaugeRangeBuilder

    Position(Position)

    Sets and gets the position to place the ranges in the axis.

    Declaration
    public LinearGaugeRangeBuilder Position(Position position)
    Parameters
    Type Name Description
    Position position
    Returns
    Type
    LinearGaugeRangeBuilder

    RadialGradient(LinearGaugeRadialGradient)

    Sets and gets the properties to render a radial gradient for the range.

    Declaration
    public LinearGaugeRangeBuilder RadialGradient(LinearGaugeRadialGradient radialGradient)
    Parameters
    Type Name Description
    LinearGaugeRadialGradient radialGradient
    Returns
    Type
    LinearGaugeRangeBuilder

    RadialGradient(Action<LinearGaugeRadialGradientBuilder>)

    Declaration
    public LinearGaugeRangeBuilder RadialGradient(Action<LinearGaugeRadialGradientBuilder> radialGradient)
    Parameters
    Type Name Description
    System.Action<LinearGaugeRadialGradientBuilder> radialGradient
    Returns
    Type
    LinearGaugeRangeBuilder

    Start(Double)

    Sets and gets the start value for the range in axis.

    Declaration
    public LinearGaugeRangeBuilder Start(double start)
    Parameters
    Type Name Description
    System.Double start
    Returns
    Type
    LinearGaugeRangeBuilder

    StartWidth(Double)

    Sets and gets the width for the start of the range in axis.

    Declaration
    public LinearGaugeRangeBuilder StartWidth(double startWidth)
    Parameters
    Type Name Description
    System.Double startWidth
    Returns
    Type
    LinearGaugeRangeBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved