menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeAnnotationBuilder

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

    Constructors

    LinearGaugeAnnotationBuilder()

    Declaration
    public LinearGaugeAnnotationBuilder()

    LinearGaugeAnnotationBuilder(List<LinearGaugeAnnotation>)

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

    Methods

    Add()

    Declaration
    public void Add()

    AxisIndex(Double)

    Sets and gets the axis index which places the annotation in the specified axis in the linear gauge.

    Declaration
    public LinearGaugeAnnotationBuilder AxisIndex(double axisIndex)
    Parameters
    Type Name Description
    System.Double axisIndex
    Returns
    Type
    LinearGaugeAnnotationBuilder

    AxisValue(Double)

    Sets and gets the value of axis which places the annotation near the specified axis value.

    Declaration
    public LinearGaugeAnnotationBuilder AxisValue(double axisValue)
    Parameters
    Type Name Description
    System.Double axisValue
    Returns
    Type
    LinearGaugeAnnotationBuilder

    Content(String)

    Sets and gets the content for the annotation.

    Declaration
    public LinearGaugeAnnotationBuilder Content(string content)
    Parameters
    Type Name Description
    System.String content
    Returns
    Type
    LinearGaugeAnnotationBuilder

    Font(LinearGaugeFont)

    Sets and gets the options to customize the font of the annotation in linear gauge.

    Declaration
    public LinearGaugeAnnotationBuilder Font(LinearGaugeFont font)
    Parameters
    Type Name Description
    LinearGaugeFont font
    Returns
    Type
    LinearGaugeAnnotationBuilder

    Font(Action<LinearGaugeFontBuilder>)

    Declaration
    public LinearGaugeAnnotationBuilder Font(Action<LinearGaugeFontBuilder> font)
    Parameters
    Type Name Description
    System.Action<LinearGaugeFontBuilder> font
    Returns
    Type
    LinearGaugeAnnotationBuilder

    HorizontalAlignment(Placement)

    Sets and gets the horizontal alignment of annotation.

    Declaration
    public LinearGaugeAnnotationBuilder HorizontalAlignment(Placement horizontalAlignment)
    Parameters
    Type Name Description
    Placement horizontalAlignment
    Returns
    Type
    LinearGaugeAnnotationBuilder

    VerticalAlignment(Placement)

    Sets and gets the vertical alignment of annotation.

    Declaration
    public LinearGaugeAnnotationBuilder VerticalAlignment(Placement verticalAlignment)
    Parameters
    Type Name Description
    Placement verticalAlignment
    Returns
    Type
    LinearGaugeAnnotationBuilder

    X(Double)

    Sets and gets the x position for the annotation in linear gauge.

    Declaration
    public LinearGaugeAnnotationBuilder X(double x)
    Parameters
    Type Name Description
    System.Double x
    Returns
    Type
    LinearGaugeAnnotationBuilder

    Y(Double)

    Sets and gets the y position for the annotation in linear gauge.

    Declaration
    public LinearGaugeAnnotationBuilder Y(double y)
    Parameters
    Type Name Description
    System.Double y
    Returns
    Type
    LinearGaugeAnnotationBuilder

    ZIndex(String)

    Sets and gets the z-index of the annotation.

    Declaration
    public LinearGaugeAnnotationBuilder ZIndex(string zIndex)
    Parameters
    Type Name Description
    System.String zIndex
    Returns
    Type
    LinearGaugeAnnotationBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved