[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Collapse]Chart Control
   [Expand]Getting Started
   [Expand]Charting Basics
   [Expand]Series Views
   [Collapse]Chart Elements
      Series Points
      Series Point Labels
      Total Labels
      Series Titles
     Chart Titles
   [Expand]Providing Data
   [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Additional Resources
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Series Titles

This document lists the view types which support series titles, and briefly describes their available properties.

For series of Pie, Doughnut and Funnel view types, it's possible to accompany each series with multiple explanatory titles, with HTML and word-wrap support. 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.

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

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

The general properties of a series title are:

  • The Title.Text property determines the contents of a title. To display the name of the series to which a title belongs, set this property to the "{S}" or "{s}" pattern. This may be extremely useful, for example, when creating auto-created series, and it's 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 their text.

  • Via the AlignedTitle.WordWrap property you can force the title's text to be wrapped in multiple lines, helpful when a 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 similarly to chart titles, as a detailed tutorial on using word-wrapping, you can refer to How to: Enable Word Wrapping for Chart Titles.

  • 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 a title's text.
  • Finally, use the TitleBase.Visible property to hide a series title, while maintaining it in the collection.

The Chart Control can hide its elements if there is insufficient space to display them. Elements are hidden in the following order:

  1. Legends
  2. Axis Titles
  3. Series Titles
  4. Pane Titles
  5. Axes
  6. Chart Title
  7. Breadcrumbs

To make the Chart Control always display its elements, disable the ChartControl.AutoLayout property.

Is this topic helpful?​​​​​​​