menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTrendLineImpl - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartTrendLineImpl

    Represents chart trend line.

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

    ChartTrendLineImpl(IApplication, Object, IList<BiffRecordRaw>, ref Int32, out ChartLegendEntryImpl)

    Creates new instance of trend object by parsing from stream.

    Declaration
    public ChartTrendLineImpl(IApplication application, object parent, IList<BiffRecordRaw> data, ref int iPos, out ChartLegendEntryImpl entry)
    Parameters
    Type Name Description
    IApplication application

    Represents application object.

    System.Object parent

    Represents parent object.

    System.Collections.Generic.IList<Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw> data

    Represents data holder.

    System.Int32 iPos

    Represents position in stream.

    ChartLegendEntryImpl entry

    Represents parsed legend entry, or null.

    Properties

    Backward

    Represents number of periods that the trend line extends backward.

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

    Border

    Represents border object. Read-only.

    Declaration
    public IChartBorder Border { get; }
    Property Value
    Type
    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
    IChartTextArea

    DisplayEquation

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

    Declaration
    public bool DisplayEquation { get; set; }
    Property Value
    Type
    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
    System.Boolean

    Forward

    Represents number of periods that the trend line extends forward.

    Declaration
    public double Forward { get; set; }
    Property Value
    Type
    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
    System.Boolean

    HasShadowProperties

    This property indicates whether the shadow object has been created

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

    Index

    Represents some unique id.

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

    Intercept

    Represents point where the trend line crosses the value axis.

    Declaration
    public double Intercept { get; set; }
    Property Value
    Type
    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
    System.Boolean

    Name

    Represents trend line name.

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

    NameIsAuto

    Indicates if name is default.

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

    Order

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

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

    Shadow

    Represents the Shadow.Read-only

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

    Type

    Represents trend line type.

    Declaration
    public ExcelTrendLineType Type { get; set; }
    Property Value
    Type
    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.

    Serialize(IList<IBiffStorage>)

    Serialize records to biff stream

    Declaration
    public void Serialize(IList<IBiffStorage> records)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<IBiffStorage> records

    Represents record holder.

    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 - 2025 Syncfusion Inc. All Rights Reserved