I would like to create a chart where a stacked BarSeries is combined with a LineSeries. The horizontal axis is Categorical and shows week numbers (Category), the vertical is Linear (Value). The example data is this:
List<Data> barCollection = new List<Data>();
barCollection.Add(new Data { Category = "Wk 1", Label = "Preperation", Value = 5 });
barCollection.Add(new Data { Category = "Wk 2", Label = "Preperation", Value = 3 });
barCollection.Add(new Data { Category = "Wk 3", Label = "Preperation", Value = 4 });
barCollection.Add(new Data { Category = "Wk 1", Label = "Production", Value = 4 });
barCollection.Add(new Data { Category = "Wk 2", Label = "Production", Value = 3 });
barCollection.Add(new Data { Category = "Wk 3", Label = "Production", Value = 3 });
List<Data> lineCollection = new List<Data>();
lineCollection.Add(new Data { Category = "Wk 1", Label = "Project", Value = 8 });
lineCollection.Add(new Data { Category = "Wk 2", Label = "Project", Value = 7 });
lineCollection.Add(new Data { Category = "Wk 3", Label = "Project", Value = 4 });
lineCollection.Add(new Data { Category = "Wk 1", Label = "QuoteAndProjects", Value = 8 });
lineCollection.Add(new Data { Category = "Wk 2", Label = "QuoteAndProjects", Value = 9 });
lineCollection.Add(new Data { Category = "Wk 3", Label = "QuoteAndProjects", Value = 7 });
The bar-items need to be stacked in each week. The line-items (Two lines, based on the Label) are separate from each other. They need to be shown in front of the bars, since they might not be visible otherwise.
I have found several simple examples of individual portions of this question, but the combination is what makes it difficult. Can anyone help me in the right direction?