ChartCollection.GetChartById(Int32) Method
In This Article
Gets a chart by its ID value.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
id | Int32 | An integer value specifying the chart’s unique identifier. |
#Returns
Type | Description |
---|---|
Chart | A Chart object representing the chart with the specified identifier. |
#Remarks
If the chart with the specified unique identifier is not found, the GetChartById method returns null.
See Also