[]
Gets or sets the trendline order when the trendline type is Polynomial.
The order specifies the degree of the polynomial trendline.
int Order { get; set; }
Property Order As Integer
worksheet.Range["A1:A4"].Value = new object[] { 10, 20, 30, 40 };
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:A4"], RowCol.Columns);
ITrendline trendline = shape.Chart.SeriesCollection[0].Trendlines.Add();
trendline.Type = TrendlineType.Polynomial;
trendline.Order = 3;
int order = trendline.Order;