ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Trendlines - ASP.NETCore API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Trendlines

    Inheritance
    System.Object
    EJTagHelper
    Trendlines
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class Trendlines : EJTagHelper

    Constructors

    Trendlines()

    Declaration
    public Trendlines()

    Properties

    BackwardForecast

    Gets or sets the BackwardForecast value of trendline, which provides an option to customize the backward forecast of trendline series.

    Declaration
    [JsonProperty("backwardForecast")]
    public double BackwardForecast { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Past trends of the current series.

    DashArray

    Gets or sets the DashArray value for trendline, which provides an option to customize the strokes of trendlines series.

    Declaration
    [JsonProperty("dashArray")]
    public string DashArray { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Pattern of dashes and gaps used to stroke the trendline.

    Fill

    Gets or sets the Fill color of the trendline, which provides an option to customize the fill color of trendline series.

    Declaration
    [JsonProperty("fill")]
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Fill color of the trendlines.

    ForwardForecast

    Gets or sets the ForewardForecast value of trendline, which provides an option to customize the forward forecast of trendline series.

    Declaration
    [JsonProperty("forwardForecast")]
    public double ForwardForecast { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Future trends of the current series.

    Name

    Gets or sets the Name of the trendline, which specifies the name of trendline series that is rendered as legend name.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Name for the trendlines that is to be displayed in legend text.

    Opacity

    Gets or sets the Opacity of trendline, which provides an option to customize the opacity of trendline series.

    Declaration
    [JsonProperty("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Opacity of the trendline.

    Period

    Gets or sets the Period of trendline, which provides an option to customize the moving average trendline period.

    Declaration
    [JsonProperty("power")]
    public double Period { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Specifies the order of moving average trendlines.

    PolynomialOrder

    Gets or sets the Polynomial order of trendline, which provides an option to customize the polynomial trendline order.

    Declaration
    [JsonProperty("polynomialOrder")]
    public double PolynomialOrder { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Specifies the order of polynomial trendlines.

    Type

    Gets or sets the Type of trendline, which provides an option to customize type of the trendline series to be rendered.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("type")]
    public TrendlineType Type { get; set; }
    Property Value
    Type Description
    TrendlineType
    Remarks

    Specifies the type of trendline for the series.

    Visibility

    Gets or sets the Visibility value of trendline, which controls the visibility of trendline series either it to be rendered or not.

    Declaration
    [JsonProperty("visibility")]
    public string Visibility { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Show/hides the trendline.

    VisibleOnLegend

    Gets or sets the visibility for legend item, which controls the visibility of legend items either to be visible or hidden.

    Declaration
    [JsonProperty("visibleOnLegend")]
    [JsonConverter(typeof(StringEnumConverter))]
    public VisibleOnLegend VisibleOnLegend { get; set; }
    Property Value
    Type Description
    VisibleOnLegend
    Remarks

    series name for legend visibility

    Width

    Gets or sets the Width of trendline, which provides an option to customize the width of chart trendline series.

    Declaration
    [JsonProperty("width")]
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Width of the trendlines.

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