Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  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]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Charting Basics
    [Expand]Professional Charting
    [Collapse]Series Views
     [Collapse]2D Series Views
      [Expand]Area Series Views
      [Collapse]Bar Series Views
        Side-by-Side Bar Chart
        Side-by-Side Stacked Bar Chart
        Side-by-Side Full-Stacked Bar Chart
        Stacked Bar Chart
        Full-Stacked Bar Chart
        Side-by-Side Range Bar Chart
        Overlapped Range Bar Chart
      [Expand]Financial Series Views
      [Expand]Gantt Series Views
      [Expand]Pie and Donut Series Views
      [Expand]Point and Line Series Views
      [Expand]Radar Series Views
      [Expand]Polar Series Views
       Funnel Series View
       Swift Plot Series View
     [Expand]3D Series Views
      Series Views Compatibility
    [Expand]Chart Elements
   [Expand]Providing Data
   [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]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Stacked Bar Chart

Expanded Short Description

The Stacked Bar Chart is represented by the StackedBarSeriesView object, which belongs to Bar Series Views. This view displays all the points of its series. Series values are stacked at arguments included in multiple series. So, the height of each bar is determined by the total of all the series values for the category. So, the height of each bar is determined by the total of all the series values for the category.

A Stacked Bar chart is shown in the image below. Note that this chart type is based upon the XYDiagram, and so it can be rotated to show bars either vertically or horizontally.

Expanded Chart Type Characteristics

The table below lists the main characteristics of this chart type.

Feature

Value

Series View type StackedBarSeriesView
Diagram type 2D-XYDiagram
Number of arguments per series point 1
Number of values per series point 1
Note

For information on which chart types can be combined with the Stacked Bar Chart, refer to the Series Views Compatibility document.

Expanded Example

The following example demonstrates how to create a ChartControl with two series of the StackedBarSeriesView type, and add this chart to a form at runtime. Before proceeding with this example, first create a Windows Forms Application in Visual Studio, and include all necessary assemblies to the References list of your project.

Then, add the following code to the Form.Load event handler.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E1211.

Expanded See Also

How would you rate this topic?​​​​​​​