You can achieve your requirement by using the CombineMode Stack
along with the StackGroupKey
property. The StackGroupKey
property sets the key that defines in which stack group a series will be included.
For your convenience I attached a sample project which demonstrates creating of clustered and stacked BarSeries
. Note that the series in the project are created dynamically with the RadCartesianChart.SeriesProvider
. Another thing you can keep in mind is that when you use the SeriesDescriptor
you need to define a style for the ChartSeries
. In the sample project the StackGroupKey
is set through an attached property to a property from the business object. This is needed because of the fact the StackGroupKey
property was not designed as a dependency property.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.