alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class StockChartTrendline

    To specify customization options for stock chart trendline.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SfDataBoundComponent
    StockChartTrendline
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(bool)
    SfDataBoundComponent.OnInitializedAsync()
    SfDataBoundComponent.OnParametersSetAsync()
    SfDataBoundComponent.SetDataManager<T>(object)
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartTrendline : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    StockChartTrendline()

    Declaration
    public StockChartTrendline()

    Properties

    BackwardForecast

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

    Declaration
    [Parameter]
    public double BackwardForecast { get; set; }
    Property Value
    Type
    double

    EnableTooltip

    Enables/disables tooltip for trendlines.

    Declaration
    [Parameter]
    public bool EnableTooltip { get; set; }
    Property Value
    Type
    bool

    Fill

    Defines the fill color of trendline.

    Declaration
    [Parameter]
    public string Fill { get; set; }
    Property Value
    Type
    string

    ForwardForecast

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

    Declaration
    [Parameter]
    public double ForwardForecast { get; set; }
    Property Value
    Type
    double

    Intercept

    Defines the intercept of the trendline.

    Declaration
    [Parameter]
    public double Intercept { get; set; }
    Property Value
    Type
    double

    LegendShape

    Sets the legend shape of the trendline.

    Declaration
    [Parameter]
    public LegendShape LegendShape { get; set; }
    Property Value
    Type
    LegendShape

    Name

    Defines the name of trendline.

    Declaration
    [Parameter]
    public string Name { get; set; }
    Property Value
    Type
    string

    Period

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

    Declaration
    [Parameter]
    public double Period { get; set; }
    Property Value
    Type
    double

    PolynomialOrder

    Defines the polynomial order of the polynomial trendline.

    Declaration
    [Parameter]
    public double PolynomialOrder { get; set; }
    Property Value
    Type
    double

    Type

    Defines the type of the trendline.

    Declaration
    [Parameter]
    public TrendlineTypes Type { get; set; }
    Property Value
    Type
    TrendlineTypes

    Width

    Defines the width of the trendline.

    Declaration
    [Parameter]
    public double Width { get; set; }
    Property Value
    Type
    double

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved