Hello,
I recently start using the wpf component, still in the learning fase:).I want to make a stackedcolumn chart by databinding some data to it
It works, but i only see for the first serie the correct label the other series dont have any label.
the code i am using is all in c#, the xaml only consist of declaring the chart.
this
.stackedChart.Series.Clear();
.stackedChart.Axes.Clear();
;
persons = _totalTicketsPerPersonModel.TicketList.GroupBy(t => t.LineName).ToList();
persons)
{
();
serie.ChartType =
.StackedColumn;
serie.DataMapping =
serie.Label = person.Key;
>();
tmp = _totalTicketsPerPersonModel.TicketList.Where(l => l.LineName == person.Key).ToList();
tmp)
col.Add(a);
}
serie.DataSource = col;
.stackedChart.Series.Add(serie);
axe.Label.Format =
axe.AxisType = Infragistics.Windows.Chart.
.PrimaryX;
axe.Label.FontFamily =
);
axe.Label.FontSize = 14.0;
axe.Label.Foreground = System.Windows.Media.
.Black;
Fixed