Class ChartTrendLineImpl
Represents chart trend line.
Inherited Members
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. |
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 | 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. |
Serialize(IList<IBiffStorage>)
Serialize records to biff stream
Declaration
[CLSCompliant(false)]
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. |