Class StockChartAnnotation
Inheritance
System.Object
StockChartAnnotation
Implements
System.IDisposable
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartAnnotation : BaseComponent, IDisposable
Constructors
StockChartAnnotation()
Declaration
public StockChartAnnotation()
Properties
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
Content
Content of the annotation, which accepts the id of the custom element.
Declaration
public string Content { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentTemplate
Declaration
public RenderFragment ContentTemplate { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
ContentTemplateData
Declaration
public List<Dictionary<string, object>> ContentTemplateData { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Collections.Generic.Dictionary<System.String, System.Object>> |
|
ContentTemplateID
Declaration
public string ContentTemplateID { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentTemplateItems
Declaration
public List<string> ContentTemplateItems { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
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
Description
Information about annotation for assistive technology.
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
jsProperty
Declaration
protected override string jsProperty { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
mainParent
Declaration
protected override BaseComponent mainParent { get; set; }
Property Value
Overrides
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
X
if set coordinateUnit as Pixel
X specifies the axis value
else is specifies pixel or percentage of coordinate
Declaration
public string X { get; set; }
Property Value
Type |
Description |
System.String |
|
XAxisName
The name of horizontal axis associated with the annotation.
It requires Axes
of chart.
Declaration
public string XAxisName { get; set; }
Property Value
Type |
Description |
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 |
Description |
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 |
Description |
System.String |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
GetJSNamespace()
Declaration
public string GetJSNamespace()
Returns
Type |
Description |
System.String |
|
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
System.Boolean |
firstRender |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable