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.
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.