menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewTrendline - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotViewTrendline

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    PivotViewTrendline
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewTrendline : EJTagHelper

    Constructors

    PivotViewTrendline()

    Declaration
    public PivotViewTrendline()

    Properties

    Animation

    Allows options to customize the animation for trendlines

    Declaration
    public object Animation { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    BackwardForecast

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

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

    The default value is 0

    EnableTooltip

    Enables/disables tooltip for trendlines

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

    The default value is true

    Fill

    Allows to set the fill color of trendline

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

    The default value is ""

    ForwardForecast

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

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

    The default value is 0

    Intercept

    Allows to set the intercept of the trendline

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

    The default value is Double.NaN

    LegendShape

    Allows to set the legend shape of the trendline

    Declaration
    public object LegendShape { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Marker

    Allows options to customize the marker for trendlines

    Declaration
    public object Marker { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Name

    Allows to set the name of trendline

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

    The default value is ""

    Period

    Allows to set 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

    The default value is 2

    PolynomialOrder

    Allows to set the polynomial order of the polynomial trendline

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

    The default value is 2

    Type

    Allows to set the type of the trendline

    Declaration
    public object Type { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Width

    Allows to set the width of the trendline

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

    The default value is 1

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