Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StockChartTrendline - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StockChartTrendline

    To specify customization options for stockchart trendline.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    StockChartTrendline
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartTrendline : SfDataBoundComponent

    Constructors

    StockChartTrendline()

    Declaration
    public StockChartTrendline()

    Properties

    BackwardForecast

    Defines the period, by which the trend has to backward forecast.

    Declaration
    public double BackwardForecast { get; set; }
    Property Value
    Type Description
    System.Double

    ChildContent

    Gets and sets the content of the UI element.

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

    EnableTooltip

    Enables/disables tooltip for trendlines.

    Declaration
    public bool EnableTooltip { get; set; }
    Property Value
    Type Description
    System.Boolean

    Fill

    Defines the fill color of trendline.

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

    ForwardForecast

    Defines the period, by which the trend has to forward forecast.

    Declaration
    public double ForwardForecast { get; set; }
    Property Value
    Type Description
    System.Double

    Intercept

    Defines the intercept of the trendline.

    Declaration
    public double Intercept { get; set; }
    Property Value
    Type Description
    System.Double

    LegendShape

    Sets the legend shape of the trendline.

    Declaration
    public LegendShape LegendShape { get; set; }
    Property Value
    Type Description
    LegendShape

    Name

    Defines the name of trendline.

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

    Period

    Defines the period, the price changes over which will be considered to predict moving average trend line.

    Declaration
    public double Period { get; set; }
    Property Value
    Type Description
    System.Double

    PolynomialOrder

    Defines the polynomial order of the polynomial trendline.

    Declaration
    public double PolynomialOrder { get; set; }
    Property Value
    Type Description
    System.Double

    Type

    Defines the type of the trendline.

    Declaration
    public TrendlineTypes Type { get; set; }
    Property Value
    Type Description
    TrendlineTypes

    Width

    Defines the width of the trendline.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    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.

    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    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.

    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved