0

How to change x and y axis's black text color? I have tried changing every black color in every xaml file in WinRTXamlToolkit.Controls.DataVisualization namespace. Any suggestion is highly appreciated.

lbrahim
  • 3,710
  • 12
  • 57
  • 95

1 Answers1

1

If you Ctrl+Shift in the sample app - you'll see the TextBlock is inside of a NumericAxisLabel and when you search the code - you can see that it's created by NumericAxis.CreateAxisLabel(). One of its base classes - DisplayAxis has a AxisLabelStyle property you can use to apply a style to that label, so if you set that in your chart - you can use a style that specifies a setter for the Foreground property with a different brush.

Filip Skakun
  • 31,624
  • 6
  • 74
  • 100