Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ChartCollection.GetChartById(Int32) Method

Gets a chart by its ID value.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

Chart GetChartById(
    int id
)

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