[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [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
     Breadcrumbs
    [Collapse]Series
     [Expand]Indicators
      Series Points
      Series Point Labels
      Total Labels
      Series Titles
    [Expand]Diagram
     Chart Titles
    [Expand]Legends
    [Expand]Annotations
   [Expand]Providing Data
   [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Total Labels

Total labels display several series points' total value. A Series View type defines which series points are used to calculate the total value. Stacked Bar Total Labels show Stacked Bar series groups' total values. The Pie Total Label displays Pie (Doughnut) series points' total value.

The following sections describe the types of Total Labels:

Expanded Pie Total Label

The Pie Total Label displays the total value of all Pie (Doughnut) series' points.

Perform the following steps to access the Pie Total Label's settings at the design time:

  1. Select the Pie series whose Total Label you want to configure.
  2. In the Properties window, expand the SeriesBase.View property.
  3. Expand the view's PieSeriesView.TotalLabel property.
  4. Configure the total label's parameters to meet your requirements.

The same customization can be performed at the runtime. The example below demonstrates this.

Use the PieSeriesView.TotalLabel property to access settings that configure a Pie (Doughnut) series' Total Label.

Expanded Stacked Bar Total Labels

Stacked Bar Total Labels show Stacked Bar series groups' total values.

Perform the following steps to access the Stacked Bar Total Labels' settings at the design time:

  1. Select a Pane on which Stacked Bar Series that Total Labels should accompany are plotted.
  2. In the Properties window, expand the XYDiagramPaneBase.StackedBarTotalLabel property.

    Note

    Total Labels' settings are not shared between panes, and you can configure them individually.

  3. Configure the Total Label's parameters to meet your requirements.

The same customization can be performed at the runtime. The example below demonstrates this.

The XYDiagramPaneBase.StackedBarTotalLabel property allows you to configure total labels of stacked bars that are in the pane. Note that Total labels' settings are not shared between Panes. Thus, you can configure Total Labels that are on various panes differently.

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