I'm trying to style the axis labels, in accordance with the code here (http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-axis-item-label.html), but without a xaml style reference. In my code-behind, I have this...
But, it's not doing anything to the appearance. This is for a 3D line chart. Do I need a different type in the setter?
Style style = new Style(typeof(TextBlock));
style.Setters.Add(new Setter(TextBlock.FontSizeProperty, 5));
chart.DefaultView.ChartArea.AxisX.AxisStyles.ItemLabelStyle = style;
But, it's not doing anything to the appearance. This is for a 3D line chart. Do I need a different type in the setter?