Skip to main content
A newer version of this page is available. .

SimpleDiagramSeriesViewBase.Titles Property

Provides access to a collection of series titles, which are displayed for the current series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public SeriesTitleCollection Titles { get; }

Property Value

Type Description
SeriesTitleCollection

A SeriesTitleCollection object that represents the collection of series titles.

Remarks

The Titles property provides access to a collection in which objects representing series titles are stored (if any). Series title objects can be manipulated (added or removed) via methods and properties provided by the SeriesTitleCollection object. Individual series titles (objects of the SeriesTitle type) can be accessed via the Titles property using indexer notation.

Note

If the Title.Text property contains patterns like “{S}” or “{s}”, these patterns will be substituted with the current series name. This may be extremely useful, for example, when creating auto-generated series, and it’s required to show the current series name in a series title - for this you need to set the text of a title, which is contained in the series template, to “{S}” or “{s}”.

For more information, refer to Series Titles.

See Also