[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Expand]Providing Data
    [Collapse]Chart Elements
     [Expand]Diagram
     [Expand]Series
      Panes
     [Expand]Axes
      Legends
      Chart Titles
      Annotations
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Examples
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Chart Titles

The Chart control allows you to display any number of titles and configure their appearance and position.

Note

Note that the Pie, Donut, and Funnel series can have an individual title. Refer to the Series Titles document to learn more about them.

This document consists of the following sections.

Expanded How to Add a Chart Title

Chart titles can be located in different sides of a diagram. By default, the title occupies a position in the top left corner.

You can use the markup below to add a chart title with specified text.

The following table lists the classes and properties that are used in the code above.

Class or Property Description
ChartControlBase.Titles A collection of chart titles.
Title An individual chart title.
TitleBase.Content Title content.

To always display a title in a chart, set the TitleBase.Visible property to true.

Expanded How to Customize a Title Layout

If the default title layout does not fulfill your requirements, modify a title position.

Use the markup below to place a title at the chart's bottom right corner.

In the above example, the following classes and properties are used.

Class or Property Description
ChartControlBase.Titles A collection of chart titles.
Title An individual chart title.
TitleBase.Content Title content.
Title.Dock Specifies the parent container's side, to which the title is docked.
TitleBase.HorizontalAlignment Specifies the horizontal alignment of the title.
TitleBase.VerticalAlignment Specifies the vertical alignment of the title.

Expanded How to Customize Title Content Appearance Using a Data Template

You can modify chart title appearance using a DataTemplate object.

To modify a title using a data template, refer to the example below.

In the above example, the following classes and properties are used.

Class or Property Description
TitleBase.ContentTemplate Specifies a template that configures how title content should look like.
System.Windows.DataTemplate A template.

Expanded See Also

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