Class ChartSerAuxTrendRecord
This record defines a series trend line.
Inheritance
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Charts
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
[Biff]
public class ChartSerAuxTrendRecord : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
ChartSerAuxTrendRecord()
Default constructor, initializes all fields with default values.
Declaration
public ChartSerAuxTrendRecord()
ChartSerAuxTrendRecord(Int32)
Reserved for record's internal data array.
Declaration
public ChartSerAuxTrendRecord(int iReserve)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iReserve | Amount of bytes for data array. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
ChartSerAuxTrendRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public ChartSerAuxTrendRecord(Stream stream, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream from which record data should be read. |
System.Int32 | itemSize | Size of read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If stream is not specified. |
System.ApplicationException | If stream does not support read or seek operations. |
Fields
DEF_NAN_BYTE_ARRAY
Represents default byte array for NaN value.
Declaration
public static byte[] DEF_NAN_BYTE_ARRAY
Field Value
Type |
---|
System.Byte[] |
DEF_NAN_VALUE
Represents default NaN value;
Declaration
public static readonly double DEF_NAN_VALUE
Field Value
Type |
---|
System.Double |
DEF_RECORD_SIZE
Correct size of the record.
Declaration
public const int DEF_RECORD_SIZE = 28
Field Value
Type |
---|
System.Int32 |
Properties
IsEquation
True if the equation is displayed.
Declaration
public bool IsEquation { get; set; }
Property Value
Type |
---|
System.Boolean |
IsRSquared
True if the R-squared value is displayed.
Declaration
public bool IsRSquared { get; set; }
Property Value
Type |
---|
System.Boolean |
MaximumRecordSize
Maximum possible size of the record.
Declaration
public override int MaximumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
MinimumRecordSize
Minimum possible size of the record.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
NumBackcast
IEEE number; specifies number of periods to forecast backward.
Declaration
public double NumBackcast { get; set; }
Property Value
Type |
---|
System.Double |
NumForecast
IEEE number; specifies number of periods to forecast forward.
Declaration
public double NumForecast { get; set; }
Property Value
Type |
---|
System.Double |
NumIntercept
IEEE number; specifies forced intercept. (#NA if no intercept is specified)
Declaration
public double NumIntercept { get; set; }
Property Value
Type |
---|
System.Double |
Order
Polynomial order or moving average period.
Declaration
public byte Order { get; set; }
Property Value
Type |
---|
System.Byte |
RegressionType
Regression type.
Declaration
public ChartSerAuxTrendRecord.TRegression RegressionType { get; set; }
Property Value
Type |
---|
ChartSerAuxTrendRecord.TRegression |
Methods
ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
System.Int32 | iLength | Length of the record's data. |
ExcelVersion | version | Excel version used for infill. |
Overrides
UpdateType(ExcelTrendLineType)
Updates trend line type on serialize.
Declaration
public void UpdateType(ExcelTrendLineType type)
Parameters
Type | Name | Description |
---|---|---|
ExcelTrendLineType | type | Represents trend line type. |