menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StockChartAnnotation - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StockChartAnnotation

    Specifies annotation for stockchart.

    Inheritance
    System.Object
    StockChartAnnotation
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartAnnotation : OwningComponentBase

    Constructors

    StockChartAnnotation()

    Declaration
    public StockChartAnnotation()

    Properties

    ContentTemplate

    Gets and sets the template of the annotation.

    Declaration
    public RenderFragment ContentTemplate { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    CoordinateUnits

    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 Units CoordinateUnits { get; set; }
    Property Value
    Type
    Units

    Description

    Information about annotation for assistive technology.

    Declaration
    public string Description { get; set; }
    Property Value
    Type
    System.String

    Region

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

    Declaration
    public Regions Region { get; set; }
    Property Value
    Type
    Regions

    X

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

    Declaration
    public object X { get; set; }
    Property Value
    Type
    System.Object

    XAxisName

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

    Declaration
    public string XAxisName { get; set; }
    Property Value
    Type
    System.String

    Y

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

    Declaration
    public string Y { get; set; }
    Property Value
    Type
    System.String

    YAxisName

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

    Declaration
    public string YAxisName { get; set; }
    Property Value
    Type
    System.String

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved