menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class StockChartTrendlinesBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    StockChartTrendlinesBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class StockChartTrendlinesBuilder : ControlBuilder

    Constructors

    StockChartTrendlinesBuilder()

    Declaration
    public StockChartTrendlinesBuilder()

    StockChartTrendlinesBuilder(List<StockChartTrendlines>)

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

    Methods

    Add()

    Declaration
    public void Add()

    Animation(Object)

    Options to customize the animation for trendlines.

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

    BackwardForecast(Double)

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

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

    EnableTooltip(Boolean)

    Enables/disables tooltip for trendlines.

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

    Fill(String)

    Defines the fill color of trendline.

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

    ForwardForecast(Double)

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

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

    Intercept(Double)

    Defines the intercept of the trendline.

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

    LegendShape(LegendShape)

    Sets the legend shape of the trendline.

    Declaration
    public StockChartTrendlinesBuilder LegendShape(LegendShape legendShape)
    Parameters
    Type Name Description
    LegendShape legendShape
    Returns
    Type
    StockChartTrendlinesBuilder

    Marker(StockChartMarkerSettings)

    Options to customize the marker for trendlines.

    Declaration
    public StockChartTrendlinesBuilder Marker(StockChartMarkerSettings marker)
    Parameters
    Type Name Description
    StockChartMarkerSettings marker
    Returns
    Type
    StockChartTrendlinesBuilder

    Marker(Action<StockChartMarkerSettingsBuilder>)

    Declaration
    public StockChartTrendlinesBuilder Marker(Action<StockChartMarkerSettingsBuilder> marker)
    Parameters
    Type Name Description
    System.Action<StockChartMarkerSettingsBuilder> marker
    Returns
    Type
    StockChartTrendlinesBuilder

    Name(String)

    Defines the name of trendline.

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

    Period(Double)

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

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

    PolynomialOrder(Double)

    Defines the polynomial order of the polynomial trendline.

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

    Type(TrendlineTypes)

    Defines the type of the trendline.

    Declaration
    public StockChartTrendlinesBuilder Type(TrendlineTypes type)
    Parameters
    Type Name Description
    TrendlineTypes type
    Returns
    Type
    StockChartTrendlinesBuilder

    Width(Double)

    Defines the width of the trendline.

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