Blazor

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

    Show / Hide Table of Contents

    Class ChartTrendline

    Defines the collection of trendlines that are used to predict the trend

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

    Constructors

    ChartTrendline()

    Declaration
    public ChartTrendline()

    Properties

    Animation

    Specifies the configuration of the animation in trendlines

    Declaration
    public ChartTrendlineAnimation Animation { get; set; }
    Property Value
    Type Description
    ChartTrendlineAnimation

    BackwardForecast

    Specifies the backward forecast of the trenline

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

    ChildContent

    Gets and sets the content of the component

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

    DashArray

    Specifies the dash array of the line

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

    EnableTooltip

    Enables the tooltip for the trendline

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

    Fill

    Specifies the fill color of the trendline

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

    ForwardForecast

    Specifies the forward forecast of the trenline

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

    Intercept

    Specifies the intercept for the trendlines

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

    LegendShape

    Specifies the legend shape of the trendline

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

    Marker

    Specifies the configuration of the marker for the trendline

    Declaration
    public ChartTrendlineMarker Marker { get; set; }
    Property Value
    Type Description
    ChartTrendlineMarker

    Name

    Specifies the name of the trendline

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

    Period

    Defines the period of the trendline

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

    PolynomialOrder

    Specifies 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

    Visible

    Enables the visiblity of the trendline

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

    Width

    Specifies 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()

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

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved