menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugePointerBuilder

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

    Constructors

    LinearGaugePointerBuilder()

    Declaration
    public LinearGaugePointerBuilder()

    LinearGaugePointerBuilder(List<LinearGaugePointer>)

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

    Methods

    Add()

    Declaration
    public void Add()

    AnimationDuration(Double)

    Sets and gets the duration of animation in pointer.

    Declaration
    public LinearGaugePointerBuilder AnimationDuration(double animationDuration)
    Parameters
    Type Name Description
    System.Double animationDuration
    Returns
    Type
    LinearGaugePointerBuilder

    Border(LinearGaugeBorder)

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

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

    Border(Action<LinearGaugeBorderBuilder>)

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

    Color(String)

    Sets and gets the color of the pointer.

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

    Description(String)

    Sets and gets the description for the pointer.

    Declaration
    public LinearGaugePointerBuilder Description(string description)
    Parameters
    Type Name Description
    System.String description
    Returns
    Type
    LinearGaugePointerBuilder

    EnableDrag(Boolean)

    Enables or disables the drag movement of pointer to update the pointer value.

    Declaration
    public LinearGaugePointerBuilder EnableDrag(bool enableDrag)
    Parameters
    Type Name Description
    System.Boolean enableDrag
    Returns
    Type
    LinearGaugePointerBuilder

    Height(Double)

    Sets and gets the height of the pointer.

    Declaration
    public LinearGaugePointerBuilder Height(double height)
    Parameters
    Type Name Description
    System.Double height
    Returns
    Type
    LinearGaugePointerBuilder

    ImageUrl(String)

    Sets and gets the URL path for the image in marker when the marker type is set as image.

    Declaration
    public LinearGaugePointerBuilder ImageUrl(string imageUrl)
    Parameters
    Type Name Description
    System.String imageUrl
    Returns
    Type
    LinearGaugePointerBuilder

    LinearGradient(LinearGaugeLinearGradient)

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

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

    LinearGradient(Action<LinearGaugeLinearGradientBuilder>)

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

    MarkerType(MarkerType)

    Sets and gets the type of the marker for pointers in axis.

    Declaration
    public LinearGaugePointerBuilder MarkerType(MarkerType markerType)
    Parameters
    Type Name Description
    MarkerType markerType
    Returns
    Type
    LinearGaugePointerBuilder

    Offset(Double)

    Sets and gets the value to position the pointer from the axis.

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

    Offset(String)

    Sets and gets the value to position the pointer from the axis.

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

    Opacity(Double)

    Sets and gets the opacity of pointer in linear gauge.

    Declaration
    public LinearGaugePointerBuilder Opacity(double opacity)
    Parameters
    Type Name Description
    System.Double opacity
    Returns
    Type
    LinearGaugePointerBuilder

    Placement(Placement)

    Sets and gets the place of the pointer.

    Declaration
    public LinearGaugePointerBuilder Placement(Placement placement)
    Parameters
    Type Name Description
    Placement placement
    Returns
    Type
    LinearGaugePointerBuilder

    Position(Position)

    Sets and gets the position of the pointer.

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

    RadialGradient(LinearGaugeRadialGradient)

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

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

    RadialGradient(Action<LinearGaugeRadialGradientBuilder>)

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

    RoundedCornerRadius(Double)

    Sets and gets the corner radius for pointer.

    Declaration
    public LinearGaugePointerBuilder RoundedCornerRadius(double roundedCornerRadius)
    Parameters
    Type Name Description
    System.Double roundedCornerRadius
    Returns
    Type
    LinearGaugePointerBuilder

    Text(String)

    Specifies the text that will be displayed as the pointer in Linear Gauge. To display the text pointer, the markerType property must be set to Text.

    Declaration
    public LinearGaugePointerBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    LinearGaugePointerBuilder

    TextStyle(Object)

    Defines the font properties such as font-size, font family and others for the text pointer.

    Declaration
    public LinearGaugePointerBuilder TextStyle(object textStyle)
    Parameters
    Type Name Description
    System.Object textStyle
    Returns
    Type
    LinearGaugePointerBuilder

    Type(Point)

    Sets and gets the type of pointer in axis. There are two types of pointers: Marker and Bar.

    Declaration
    public LinearGaugePointerBuilder Type(Point type)
    Parameters
    Type Name Description
    Point type
    Returns
    Type
    LinearGaugePointerBuilder

    Value(Double)

    Sets and gets the value of the pointer in axis.

    Declaration
    public LinearGaugePointerBuilder Value(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    LinearGaugePointerBuilder

    Width(Double)

    Sets and gets the width of the pointer.

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