Series Titles
- 2 minutes to read
This topic lists the view types that support series titles, and describes how to use their properties in the Series Title Collection Editor to create and edit series titles.
For series of the Pie, Doughnut and Funnel view types, it is possible to accompany each series with multiple explanatory titles, which include support for HTML and word-wrap. Series titles can be used to hold either explanatory text for data displayed within the series (e.g., series name), or any additional textual information.
Expand the SeriesBase.View property in the Properties window, and click the ellipsis button for the SimpleDiagramSeriesViewBase.Titles property to access the series title collection at design time.
In the invoked Series Title Collection Editor, you can add/remove series titles and configure title settings.
The general properties of a series title are as follows.
The Title.Text property determines the contents of the title. To display the name of the series to which a title belongs, set this property to the “{S}“ or “{s}“ pattern. This is useful when you create series automatically, or show names next to series.
Series titles support basic HTML tags, so you can embed the required tags in the text to easily apply HTML formatting.
- You can use the AlignedTitle.WordWrap property to display title text on multiple lines. This is helpful when the series title length exceeds the chart size. After this property is enabled, you can use the AlignedTitle.MaxLineCount property to define the maximum number of rows allowed for the title text.
Since series titles are similar to chart titles, refer to the following topic on how to use word-wrap in chart titles for details: How to: Enable Word Wrapping for Chart Titles.
- The AlignedTitle.Alignment, DockableTitle.Dock and DockableTitle.Indent properties determine the placement of a title in relation to its corresponding series.
- The TitleBase.Font, TitleBase.EnableAntialiasing and TitleBase.TextColor properties determine the title text appearance.
- Finally, use the TitleBase.Visible property to control the visibility of each title in the series title collection.