Articles in this section
Category / Section

How to change the properties of chart axis header?

1 min read

The properties of WPF Chart axis header such as Text, TextAlignment, FontFamily, FontSize, Forecolor, FontWeight, etc., can be changed using the Header property of ChartAxis.

The following code snippet is used to change the above mentioned properties.

<syncfusion:ChartArea.PrimaryAxis>   <syncfusion:ChartAxis>     <syncfusion:ChartAxis.Header>       <TextBlock Text="Axis Header" TextAlignment="Center" FontFamily="Tahoma" FontSize="10" FontWeight="Bold" Foreground="Black"/>     </syncfusion:ChartAxis.Header>   </syncfusion:ChartAxis> </syncfusion:ChartArea.PrimaryAxis>
Conclusion

I hope you enjoyed learning about how to change the properties of chart axis header.

You can refer to our WPF Chart feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF Chart to understand how to present and manipulate data.

For current customers, you can check out our WPF Controls from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WPF Chart and other WPF controls.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied