TrendlineCollection.Add(ChartTrendlineType, String) Method
In This Article
Creates a new trendline of the specified type with the specified name and adds it to the collection.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
Trendline Add(
ChartTrendlineType trendlineType,
string customName
)
#Parameters
Name | Type | Description |
---|---|---|
trendline |
Chart |
A Chart |
custom |
String | A string that is the custom name of the trendline. |
#Returns
Type | Description |
---|---|
Trendline | A Trendline object that is the newly added element in the collection. |
See Also