Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
595
Difficulties Setting TickMark Font Properties
posted

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.

Parents
  • 30692
    Verified Answer
    Offline posted

    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

Reply Children
No Data