menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewTrendlineBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotViewTrendlineBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewTrendlineBuilder : ControlBuilder

    Constructors

    PivotViewTrendlineBuilder()

    Declaration
    public PivotViewTrendlineBuilder()

    PivotViewTrendlineBuilder(List<PivotViewTrendline>)

    Declaration
    public PivotViewTrendlineBuilder(List<PivotViewTrendline> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<PivotViewTrendline> collection

    Methods

    Add()

    Declaration
    public void Add()

    Animation(Object)

    Allows options to customize the animation for trendlines

    Declaration
    public PivotViewTrendlineBuilder Animation(object animation)
    Parameters
    Type Name Description
    System.Object animation
    Returns
    Type
    PivotViewTrendlineBuilder

    BackwardForecast(Double)

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

    Declaration
    public PivotViewTrendlineBuilder BackwardForecast(double backwardForecast)
    Parameters
    Type Name Description
    System.Double backwardForecast
    Returns
    Type
    PivotViewTrendlineBuilder

    EnableTooltip(Boolean)

    Enables/disables tooltip for trendlines

    Declaration
    public PivotViewTrendlineBuilder EnableTooltip(bool enableTooltip)
    Parameters
    Type Name Description
    System.Boolean enableTooltip
    Returns
    Type
    PivotViewTrendlineBuilder

    Fill(String)

    Allows to set the fill color of trendline

    Declaration
    public PivotViewTrendlineBuilder Fill(string fill)
    Parameters
    Type Name Description
    System.String fill
    Returns
    Type
    PivotViewTrendlineBuilder

    ForwardForecast(Double)

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

    Declaration
    public PivotViewTrendlineBuilder ForwardForecast(double forwardForecast)
    Parameters
    Type Name Description
    System.Double forwardForecast
    Returns
    Type
    PivotViewTrendlineBuilder

    Intercept(Double)

    Allows to set the intercept of the trendline

    Declaration
    public PivotViewTrendlineBuilder Intercept(double intercept)
    Parameters
    Type Name Description
    System.Double intercept
    Returns
    Type
    PivotViewTrendlineBuilder

    LegendShape(Object)

    Allows to set the legend shape of the trendline

    Declaration
    public PivotViewTrendlineBuilder LegendShape(object legendShape)
    Parameters
    Type Name Description
    System.Object legendShape
    Returns
    Type
    PivotViewTrendlineBuilder

    Marker(Object)

    Allows options to customize the marker for trendlines

    Declaration
    public PivotViewTrendlineBuilder Marker(object marker)
    Parameters
    Type Name Description
    System.Object marker
    Returns
    Type
    PivotViewTrendlineBuilder

    Name(String)

    Allows to set the name of trendline

    Declaration
    public PivotViewTrendlineBuilder Name(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    PivotViewTrendlineBuilder

    Period(Double)

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

    Declaration
    public PivotViewTrendlineBuilder Period(double period)
    Parameters
    Type Name Description
    System.Double period
    Returns
    Type
    PivotViewTrendlineBuilder

    PolynomialOrder(Double)

    Allows to set the polynomial order of the polynomial trendline

    Declaration
    public PivotViewTrendlineBuilder PolynomialOrder(double polynomialOrder)
    Parameters
    Type Name Description
    System.Double polynomialOrder
    Returns
    Type
    PivotViewTrendlineBuilder

    Type(Object)

    Allows to set the type of the trendline

    Declaration
    public PivotViewTrendlineBuilder Type(object type)
    Parameters
    Type Name Description
    System.Object type
    Returns
    Type
    PivotViewTrendlineBuilder

    Width(Double)

    Allows to set the width of the trendline

    Declaration
    public PivotViewTrendlineBuilder Width(double width)
    Parameters
    Type Name Description
    System.Double width
    Returns
    Type
    PivotViewTrendlineBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved