File Formats

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTrendLineImpl

    Show / Hide Table of Contents

    Class ChartTrendLineImpl

    Represents chart trend line.

    Inheritance
    System.Object
    CommonObject
    ChartTrendLineImpl
    Implements
    IParentApplication
    System.IDisposable
    IChartTrendLine
    Inherited Members
    CommonObject.m_bIsDisposed
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParents(Type[])
    CommonObject.FindParent(Type[])
    CommonObject.SetParent(Object)
    CommonObject.CheckDisposed()
    CommonObject.AddReference()
    CommonObject.ReleaseReference()
    CommonObject.Dispose()
    CommonObject.OnDispose()
    CommonObject.Application
    CommonObject.Parent
    CommonObject.AppImplementation
    CommonObject.ReferenceCount
    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.XlsIO.Implementation.Charts
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ChartTrendLineImpl : CommonObject, IParentApplication, IDisposable, IChartTrendLine

    Constructors

    ChartTrendLineImpl(IApplication, Object)

    Creates new instance of object.

    Declaration
    public ChartTrendLineImpl(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Represents current application.

    System.Object parent

    Represents parent object.

    Properties

    Backward

    Represents number of periods that the trend line extends backward.

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

    Border

    Represents border object. Read-only.

    Declaration
    public IChartBorder Border { get; }
    Property Value
    Type Description
    IChartBorder

    Chart3DOptions

    Gets the chart3 D options.

    Declaration
    public IThreeDFormat Chart3DOptions { get; }
    Property Value
    Type Description
    IThreeDFormat

    The chart3 D options.

    DataLabel

    Returns data label. Read-only.

    Declaration
    public IChartTextArea DataLabel { get; }
    Property Value
    Type Description
    IChartTextArea

    DisplayEquation

    True if the equation for the trend line is displayed on the chart.

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

    DisplayRSquared

    True if the R-squared value of the trend line is displayed on the chart.

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

    Forward

    Represents number of periods that the trend line extends forward.

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

    Has3dProperties

    This property Indicates whether the Shadow object has been created(which includes the 3D properties)

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

    HasShadowProperties

    This property indicates whether the shadow object has been created

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

    Index

    Represents some unique id.

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

    Intercept

    Represents point where the trend line crosses the value axis.

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

    InterceptIsAuto

    True if the point where the trend line crosses the value axis is automatically determined by the regression.

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

    Name

    Represents trend line name.

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

    NameIsAuto

    Indicates if name is default.

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

    Order

    Represents for Moving Average and Polynomial trend line type order value.

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

    Shadow

    Represents the Shadow.Read-only

    Declaration
    public IShadow Shadow { get; }
    Property Value
    Type Description
    IShadow

    Type

    Represents trend line type.

    Declaration
    public ExcelTrendLineType Type { get; set; }
    Property Value
    Type Description
    ExcelTrendLineType

    Methods

    ClearFormats()

    Clears current trend line.

    Declaration
    public void ClearFormats()

    Clone(Object, Dictionary<Int32, Int32>, Dictionary<String, String>)

    Clones current object.

    Declaration
    public ChartTrendLineImpl Clone(object parent, Dictionary<int, int> dicFontIndexes, Dictionary<string, string> dicNewSheetNames)
    Parameters
    Type Name Description
    System.Object parent

    Represents parent object for new cloned instance.

    System.Collections.Generic.Dictionary<System.Int32, System.Int32> dicFontIndexes

    Represents new font indexes.

    System.Collections.Generic.Dictionary<System.String, System.String> dicNewSheetNames

    Dictionary with new worksheet names.

    Returns
    Type Description
    ChartTrendLineImpl

    Returns cloned object.

    MarkUsedReferences(Boolean[])

    Sets items with used reference indexes to true.

    Declaration
    public void MarkUsedReferences(bool[] usedItems)
    Parameters
    Type Name Description
    System.Boolean[] usedItems

    Array to mark used references in.

    SetDataLabel(ChartTextAreaImpl)

    Sets current data label.

    Declaration
    public void SetDataLabel(ChartTextAreaImpl area)
    Parameters
    Type Name Description
    ChartTextAreaImpl area

    Represents data label.

    UpdateReferenceIndexes(Int32[])

    Updates reference indexes.

    Declaration
    public void UpdateReferenceIndexes(int[] arrUpdatedIndexes)
    Parameters
    Type Name Description
    System.Int32[] arrUpdatedIndexes

    Array with updated indexes.

    Implements

    IParentApplication
    System.IDisposable
    IChartTrendLine
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved