.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ChartCollection.GetCharts(String) Method

Get chart(s) by name.

Namespace: DevExpress.Spreadsheet.Charts

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


IList<Chart> GetCharts(
    string chartName


Name Type Description
chartName String

A string that is the name of a chart.


Type Description

A collection of charts with the same name.


A chart name is specified by the Shape.Name property. A worksheet may contain more than one chart with the same name. In this situation, the IList<Chart> collection returned by the GetCharts method contains several items.

If a chart with the specified name is not found, the method returns an empty list.

See Also