I want to display 3 series on my Silverlight toolkit horizontal bar chart…2 normal bar series and 1 stacked bar series (consisting of 2 SeriesDefinition). When I add the first 2 normal bar series, they show up next to each other as expected. But when I add the stacked series, it takes up the height of the whole row. Is there any way to combine the 2 types of series so that it displays as, from top to bottom – stacked, bar, bar?
Here is how I’m setting it up currently:
<charts:Chart Title="Manufacturer Overview" LegendTitle="Legend" Style="{StaticResource ZChartNoBackground}">
<charts:Chart.Series>
<charts:StackedBarSeries>
<charts:SeriesDefinition Title="Oppotunities"
ItemsSource="{Binding Path=TotalValueInFunnelByVendor}"
IndependentValueBinding="{Binding IndependentValue}"
DependentValueBinding="{Binding DependentValue}">
</charts:SeriesDefinition>
<!--SAMPLE DATA UNTIL REAL DATA IS IN-->
<charts:SeriesDefinition Title="Flow Business"
ItemsSource="{Binding Path=TotalValueInFunnelByVendor}"
IndependentValueBinding="{Binding IndependentValue}"
DependentValueBinding="{Binding DependentValue}">
</charts:SeriesDefinition>
</charts:StackedBarSeries>
<charts:BarSeries Title="Sales to date"
ItemsSource="{Binding Path=SalesToDateByVendor}"
IndependentValueBinding="{Binding IndependentValue}"
DependentValueBinding="{Binding DependentValue}">
</charts:BarSeries>
<charts:BarSeries Title="Forecasted"
ItemsSource="{Binding Path=ForecastedSalesByVendor}"
IndependentValueBinding="{Binding IndependentValue}"
DependentValueBinding="{Binding DependentValue}">
</charts:BarSeries>
</charts:Chart.Series>
</charts:Chart>
Here is an image of the chart. Notice the GREEN and RED bars are correctly placed but the stacked bar is the height of the row and in the “back” of the other 2 series:

So after a whole bunch of looking around, I’ve come to the conclusion that this behavior is “by design” or a bug. I looked at the source code for the
StackedBarSeries. I created a new class that inherited fromStackedBarSeriesand added code to the “UpdateDataItemPlacement” method that divides the height of the bar by the number of series in the SeriesHost: