We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


The WPF 3D Stacked Bar Chart visualizes data with y-values stacked over one another in the series order. It shows the relationship between individual values to the total sum of the points.

WPF 3D Stacked Bar Chart documentation

WPF 3D Stacked Bar Chart

Key features

WPF Grouped 3D Stacked Bar Chart

Grouped stacked chart

Group the WPF chart series with a unique group name to differentiate that set of series from others.

WPF 3D Stacked Bar Chart Showing Spacing between bars

Spacing and width

Customize the spacing between two bars and the width of the bar.

Code Example

Easily get started with the WPF 3D Stacked Bar Chart using a few simple lines of C# code example as demonstrated below,

<Window x:Class="ChartExample.MainWindow"
        Title="WPF 3D Stacked Bar Chart" Height="450" Width="700">
  <!--Setting DataContext-->

    <StackPanel HorizontalAlignment="Center"   VerticalAlignment="Center">

            Height="400" Width="400" Depth="500"

            <!--  Initialize the horizontal axis for the WPF 3D Chart  -->
                <chart:CategoryAxis3D />

            <!--  Initialize the vertical axis for the WPF 3D Chart  -->
                <chart:NumericalAxis3D />

            <!--  Adding 3D Stacked Bar Chart to the WPF 3D Chart   -->
                ItemsSource="{Binding CategoricalDatas}"
                ItemsSource="{Binding CategoricalDatas}"
public class BarChart3DModel 
        public string Year { get; set; }

        public double Plastic { get; set; }

        public double Metal { get; set; }

        public BarChart3DModel(double metal, double plastic, string year)
            Plastic = plastic;
            Year = year;
            Metal = metal;

    public class Chart3DViewModel
        public Chart3DViewModel()
            CategoricalDatas = new ObservableCollection<BarChart3DModel>();

            CategoricalDatas.Add(new BarChart3DModel(7, 5, "2008"));
            CategoricalDatas.Add(new BarChart3DModel(13, 10, "2009"));
            CategoricalDatas.Add(new BarChart3DModel(15, 12, "2010"));
            CategoricalDatas.Add(new BarChart3DModel(21, 20, "2011"));
            CategoricalDatas.Add(new BarChart3DModel(25, 23, "2012"));

        public ObservableCollection<BarChart3DModel> CategoricalDatas

Learning resources

Navigate to GitHub code used to configure the WPF 3D Stacked Bar Chart

GitHub Code

The WPF 3D Stacked Bar Chart configuration code is available in GitHub.

Navigate to the options available in the user guide to customize the WPF 3D Stacked Bar Chart

WPF 3D Stacked Bar Chart User Guide

Learn more about the available options to customize WPF 3D Stacked Bar Charts.

Navigate to the API references documentation of the WPF 3D Stacked Bar Chart

WPF 3D Stacked Bar Chart API Reference

Explore the WPF 3D Stacked Bar Chart APIs.


Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon