I'm trying to hide the item labels on my chart. There are 52 items on one chart, so the item labels hide the actual line on the chart. I can't figure out how to turn them off. The data is generated from the code-behind. Here is a snippet that shows how I am creating the chart data:
SeriesMapping mySeries =
"Current Year Cash Balance"
mySeries.SeriesDefinition.Appearance.StrokeThickness = 3;
secondaryChart.ItemsSource = cashBalanceData.Tables[
Is there a simple way to do this? Demo code would be most appreciated. I would prefer the option to do it either in the XAML or the code-behind, since I might want to set the default in the XAML but then change it in the code-behind.