ChartTrendLineImpl Class
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. |
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. |
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. |