The following topic shows how to set the color of the AxisY labels depending upon its values:
chart.View.AxisY.AnnoCreated += Function(s, e)
Dim label = DirectCast(e.Label, TextBlock)
If e.Value >= 0 Then
label.Foreground = Brushes.Red
Else
label.Foreground = Brushes.Blue
End If
End Function
•C#
chart.View.AxisY.AnnoCreated += (s, e) =>
{
var label = (TextBlock)e.Label;
if (e.Value >= 0)
label.Foreground = Brushes.Red;
else
label.Foreground = Brushes.Blue;
};