Metro Theme overrides NumericalAxis.Foreground color

Hello. 

I'm using Metro theme with my sfChart application.

When I change foreground color of the axis , it appears in black color.  

But when I did't apply themes , the color is showed correctly

The same thing happens with other themes (VisualStudio2013, Office2013White...)

How can I correct this problem?

<sf:NumericalAxis x:Name="axis_speed"
     EdgeLabelsDrawingMode="Fit" Header="TEST" Foreground="Red">
</sf:NumericalAxis>

1 Reply 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team May 21, 2021 09:40 AM UTC

 
Greetings from Syncfusion. 
 
You can change the axis label foreground color with the help of LabelStyle property of ChartAxis. Please find the below code example below. 
 
CodeSnippet: 
<syncfusion:NumericalAxis EdgeLabelsDrawingMode="Fit" > 
    <syncfusion:NumericalAxis.LabelStyle> 
        <syncfusion:LabelStyle Foreground="Red"/> 
    </syncfusion:NumericalAxis.LabelStyle> 
</syncfusion:NumericalAxis> 
 
For more details, please refer the below link. 
 
Regards, 
Yuvaraj. 


Marked as answer
Loader.
Up arrow icon