menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class StockChartAnnotationSettingsBuilder

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

    Constructors

    StockChartAnnotationSettingsBuilder()

    Declaration
    public StockChartAnnotationSettingsBuilder()

    StockChartAnnotationSettingsBuilder(List<StockChartAnnotationSettings>)

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

    Methods

    Add()

    Declaration
    public void Add()

    Content(String)

    Content of the annotation, which accepts the id of the custom element.

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

    CoordinateUnits(Units)

    Specifies the coordinate units of the annotation. They are Pixel - Annotation renders based on x and y pixel value. Point - Annotation renders based on x and y axis value.

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

    Description(String)

    Information about annotation for assistive technology.

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

    HorizontalAlignment(Alignment)

    Specifies the alignment of the annotation. They are Near - Align the annotation element as left side. Far - Align the annotation element as right side. Center - Align the annotation element as mid point.

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

    Region(Regions)

    Specifies the regions of the annotation. They are Chart - Annotation renders based on chart coordinates. Series - Annotation renders based on series coordinates.

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

    VerticalAlignment(Position)

    Specifies the position of the annotation. They are Top - Align the annotation element as top side. Bottom - Align the annotation element as bottom side. Middle - Align the annotation element as mid point.

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

    X(Double)

    if set coordinateUnit as Pixel X specifies the axis value else is specifies pixel or percentage of coordinate

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

    X(String)

    if set coordinateUnit as Pixel X specifies the axis value else is specifies pixel or percentage of coordinate

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

    XAxisName(String)

    The name of horizontal axis associated with the annotation. It requires axes of chart.

    Declaration
    public StockChartAnnotationSettingsBuilder XAxisName(string xAxisName)
    Parameters
    Type Name Description
    System.String xAxisName
    Returns
    Type
    StockChartAnnotationSettingsBuilder

    Y(Double)

    if set coordinateUnit as Pixel Y specifies the axis value else is specifies pixel or percentage of coordinate

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

    Y(String)

    if set coordinateUnit as Pixel Y specifies the axis value else is specifies pixel or percentage of coordinate

    Declaration
    public StockChartAnnotationSettingsBuilder Y(string y)
    Parameters
    Type Name Description
    System.String y
    Returns
    Type
    StockChartAnnotationSettingsBuilder

    YAxisName(String)

    The name of vertical axis associated with the annotation. It requires axes of chart.

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