Skip to main content

SimpleDiagramSeriesViewBase.Titles Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Titles property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also