ChartCollection.GetChartById(Int32) Method
Gets a chart by its ID value.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.1.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