menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class AccumulationAnnotationSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    AccumulationAnnotationSettingsBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class AccumulationAnnotationSettingsBuilder : ControlBuilder

    Constructors

    AccumulationAnnotationSettingsBuilder()

    Declaration
    public AccumulationAnnotationSettingsBuilder()

    AccumulationAnnotationSettingsBuilder(List<AccumulationAnnotationSettings>)

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

    Methods

    Add()

    Declaration
    public void Add()

    Content(String)

    The content of the annotation, which can also accept the ID of a custom element.

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

    CoordinateUnits(Units)

    Specifies the coordinate units of the annotation. The options are: Pixel - Renders the annotation based on x and y pixel values. Point - Renders the annotation based on x and y data values.

    Declaration
    public AccumulationAnnotationSettingsBuilder CoordinateUnits(Units coordinateUnits)
    Parameters
    Type Name Description
    Units coordinateUnits
    Returns
    Type
    AccumulationAnnotationSettingsBuilder

    Description(String)

    A description for the annotation that provides additional information about its content for screen readers.

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

    HorizontalAlignment(Alignment)

    Specifies the alignment of the annotation. The options are: Near - Aligns the annotation element to the top side. Far - Aligns the annotation element to the bottom side. Center - Aligns the annotation element to the midpoint.

    Declaration
    public AccumulationAnnotationSettingsBuilder HorizontalAlignment(Alignment horizontalAlignment)
    Parameters
    Type Name Description
    Alignment horizontalAlignment
    Returns
    Type
    AccumulationAnnotationSettingsBuilder

    Region(Regions)

    Specifies the regions of the annotation. The options are: Chart - Renders the annotation based on chart coordinates. Series - Renders the annotation based on series coordinates.

    Declaration
    public AccumulationAnnotationSettingsBuilder Region(Regions region)
    Parameters
    Type Name Description
    Regions region
    Returns
    Type
    AccumulationAnnotationSettingsBuilder

    VerticalAlignment(Position)

    Specifies the position of the annotation. The options are Top - Aligns the annotation element to the top side. Bottom - Aligns the annotation element to the bottom side. Middle - Aligns the annotation element to the midpoint.

    Declaration
    public AccumulationAnnotationSettingsBuilder VerticalAlignment(Position verticalAlignment)
    Parameters
    Type Name Description
    Position verticalAlignment
    Returns
    Type
    AccumulationAnnotationSettingsBuilder

    X(Double)

    If coordinateUnit is set to Pixel, x specifies the pixel value. If coordinateUnit is set to Point, x specifies the data value.

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

    X(String)

    If coordinateUnit is set to Pixel, x specifies the pixel value. If coordinateUnit is set to Point, x specifies the data value.

    Declaration
    public AccumulationAnnotationSettingsBuilder X(string x)
    Parameters
    Type Name Description
    System.String x
    Returns
    Type
    AccumulationAnnotationSettingsBuilder

    Y(Double)

    If coordinateUnit is set to Pixel, y specifies the pixel value. If coordinateUnit is set to Point, y specifies the data value.

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

    Y(String)

    If coordinateUnit is set to Pixel, y specifies the pixel value. If coordinateUnit is set to Point, y specifies the data value.

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