Style the axis label of the spline chart

I am trying to style the axis labels of the spline chart in order to change the font color. 




1 Reply 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team January 12, 2021 09:16 AM UTC

Hi Kristina, 
 
We have analyzed your query. From that, we would like to let you know that we can customize the axis labels using chartAxisLabelStyle tag as shown in the below code snippet. We have also prepared a sample for your reference. Please find the sample, code snippet and screenshot below.  
 
 
Code Snippet: 
<ChartPrimaryXAxis ValueType="Syncfusion.Blazor.Charts.ValueType.Category" > 
            <ChartAxisMajorGridLines Width="0"></ChartAxisMajorGridLines> 
            <ChartAxisLabelStyle Color="red" Size="12" ></ChartAxisLabelStyle> 
        </ChartPrimaryXAxis> 
 
Screenshot: 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Marked as answer
Loader.
Up arrow icon