I'm not sure where I've gone wrong but doing something like below has no effect on the tick value fonts at all.
<ig:NumericYAxis x:Name="yAxis" MinimumValue="{Binding Ymin}" MaximumValue="{Binding Ymax}" Interval="{Binding YMajorInterval}" MinorStroke="#00000000" MinorStrokeThickness="1" FontSize="40"> </ig:NumericYAxis>
The only thing I can see that I'm doing with my numeric axes is using them in codebehind to set my series X & Y axes. I don't see how this could be the issue.
Dim b160 As New System.Windows.Data.Binding() b160.Source = xAxis BindingOperations.SetBinding(_chart.Series(_chart.Series.Count - 1), ScatterSeries.XAxisProperty, b160)
Any ideas on what I'm not doing correct would be appreciated.
Outstanding Thank You. Here is a sample for anyone else who might not know how to do this.
<ig:NumericYAxis x:Name="yAxis" MinorStroke="#00000000" MinorStrokeThickness="1" MinimumValue="{Binding Ymin}" MaximumValue="{Binding Ymax}" Interval="{Binding YMajorInterval}"> <ig:NumericYAxis.LabelSettings> <ig:AxisLabelSettings FontFamily="{Binding Source={StaticResource ViewModel}, Path=FontPrefs.TicksFont.FontFamily, Mode=OneWay}" FontSize="{Binding Source={StaticResource ViewModel}, Path=FontPrefs.TicksFont.FontSize, Mode=OneWay}" FontWeight="{Binding Source={StaticResource ViewModel}, Path=FontPrefs.TicksFont.FontWeight, Mode=OneWay}"/> </ig:NumericYAxis.LabelSettings> </ig:NumericYAxis>
Hi,
Try setting these types of values on the LabelSettings for the axis instead. The labels are managed in a seperate visual to the axis, so do not inherit font properties from it.
-Graham