Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRChart.GetSeriesByName(String) Method

Gets a series within the chart’s series collection by its name.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public Series GetSeriesByName(
    string seriesName
)

#Parameters

Name Type Description
seriesName String

A String which specifies the name of the series to find.

#Returns

Type Description
Series

A Series object that represents the series with the specified name.

#Remarks

Note that this method finds only the first occurrence of a series with the specified name. If there are several series with the same name, only the first series found will be returned. If no element with the specified name is found, then this method returns null (Nothing in Visual Basic).

See Also