menu

Blazor

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

    Show / Hide Table of Contents

    Class PivotChartTrendline

    Allows to set the trendlines that are used to predict the trend.

    Inheritance
    System.Object
    PivotChartTrendline
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PivotChartTrendline : OwningComponentBase

    Constructors

    PivotChartTrendline()

    Declaration
    public PivotChartTrendline()

    Properties

    Animation

    Allows options to customize the animation for trendlines.

    Declaration
    public PivotChartTrendlineAnimation Animation { get; set; }
    Property Value
    Type
    PivotChartTrendlineAnimation

    BackwardForecast

    Allows to set the period, by which the trend has to backward forecast.

    Declaration
    public int BackwardForecast { get; set; }
    Property Value
    Type
    System.Int32

    EnableTooltip

    Enables/disables tooltip for trendlines.

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

    Fill

    Allows to set the fill color of trendline.

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

    ForwardForecast

    Allows to set the period, by which the trend has to forward forecast.

    Declaration
    public int ForwardForecast { get; set; }
    Property Value
    Type
    System.Int32

    Intercept

    Allows to set the intercept of the trendline.

    Declaration
    public int Intercept { get; set; }
    Property Value
    Type
    System.Int32

    LegendShape

    Allows to set the legend shape of the trendline.

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

    Marker

    Allows options to customize the marker for trendlines.

    Declaration
    public PivotChartTrendlineMarker Marker { get; set; }
    Property Value
    Type
    PivotChartTrendlineMarker

    Name

    Allows to set the name of trendline.

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

    Period

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

    Declaration
    public int Period { get; set; }
    Property Value
    Type
    System.Int32

    PolynomialOrder

    Allows to set the polynomial order of the polynomial trendline.

    Declaration
    public int PolynomialOrder { get; set; }
    Property Value
    Type
    System.Int32

    Type

    Allows to set the type of the trendline.

    Declaration
    public PivotChartTrendlineTypes Type { get; set; }
    Property Value
    Type
    PivotChartTrendlineTypes

    Width

    Allows to set the width of the trendline.

    Declaration
    public int Width { get; set; }
    Property Value
    Type
    System.Int32

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    Dispose(Boolean)

    Dispose unmanaged resources in the component.

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

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

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

    A System.Threading.Tasks.Task representing any 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 any asynchronous operation.

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