ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeRangeBuilder

    Inheritance
    System.Object
    ControlBuilder
    LinearGaugeRangeBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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 color and width of the border for the axis range.

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

    Border(Action<LinearGaugeBorderBuilder>)

    Declaration
    public LinearGaugeRangeBuilder Border(Action<LinearGaugeBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<LinearGaugeBorderBuilder> border
    Returns
    Type Description
    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 Description
    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 Description
    LinearGaugeRangeBuilder

    EndWidth(Double)

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

    Declaration
    public LinearGaugeRangeBuilder EndWidth(double endWidth)
    Parameters
    Type Name Description
    System.Double endWidth
    Returns
    Type Description
    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 Description
    LinearGaugeRangeBuilder

    LinearGradient(Action<LinearGaugeLinearGradientBuilder>)

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

    Offset(Double)

    Sets and gets the value to position the range in the axis.

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

    Offset(String)

    Sets and gets the value to position the range in the axis.

    Declaration
    public LinearGaugeRangeBuilder Offset(string offset)
    Parameters
    Type Name Description
    System.String offset
    Returns
    Type Description
    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 Description
    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 Description
    LinearGaugeRangeBuilder

    RadialGradient(Action<LinearGaugeRadialGradientBuilder>)

    Declaration
    public LinearGaugeRangeBuilder RadialGradient(Action<LinearGaugeRadialGradientBuilder> radialGradient)
    Parameters
    Type Name Description
    System.Action<LinearGaugeRadialGradientBuilder> radialGradient
    Returns
    Type Description
    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 Description
    LinearGaugeRangeBuilder

    StartWidth(Double)

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

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