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

Series Titles

  • 2 minutes to read

This document lists the view types that support series titles, and describes how to create and edit series titles using their properties in the Series Title Collection Editor.

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.

VE_SeriesTitles

To access the collection of series titles at design time, expand the SeriesBase.View property in the Properties window, and click the ellipsis button for the SimpleDiagramSeriesViewBase.Titles property.

InvokeTitlesCollection

In the invoked Series Title Collection Editor, you can manage the series titles collection.

TitlesCollectionEditor

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 can be useful, for example, when creating auto-created series, and it is required to show their names adjacent to the series.

    For series titles, basic HTML tags are supported, so you can easily apply HTML formatting to a title by embedding the required tags into the text.

  • You can use the AlignedTitle.WordWrap property to force the title text to be wrapped in multiple lines. This is helpful when the series title exceeds the size of the chart. After this property is enabled, you can use the AlignedTitle.MaxLineCount property to define the maximum number of rows allowed for a title’s text.

    Since series titles are implemented in a similar manner to chart titles, refer to the How to: Enable Word Wrapping for Chart Titles topic for a detailed tutorial on how to use word-wrapping.

  • The AlignedTitle.Alignment, DockableTitle.Dock and DockableTitle.Indent properties determine the placement of a title along the corresponding series.
  • The TitleBase.Font, TitleBase.Antialiasing and TitleBase.TextColor properties determine the appearance of the title’s text.
  • Finally, use the TitleBase.Visible property to control the visibility of each title in the series title collection.