How to: Create a 2D Side-by-Side Stacked Bar Chart
The following example demonstrates how to create a 2D Side-By-Side Stacked Bar chart. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram2D, and then add four BarSideBySideStackedSeries2D objects with points to the diagram's Diagram.Series collection. And, to stack the series, use their BarSideBySideStackedSeries2D.StackedGroup property.