The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
>hi can anyone tell me how to set the label names font size n color for x and y axis?
hello can anybody please tell me how to set the font size for the label on the x axis
MAManohari Syncfusion Team November 20, 2008 12:52 PM UTC
Hi Pavan Kumar,
We regret very much for the delayed response. It is possible to set font and color to the ChartAxis labels using the ChartAxis.Font and ForeColor properties respectively. Please refer to the sample code snippets below.
Sample code: this.chartControl1.PrimaryXAxis.Font = new Font("Arial",(float)float.Parse(this.comboBox1.SelectedItem.ToString())); // To set Font to X axis. this.chartControl1.PrimaryXAxis.ForeColor = Color.Blue; // To set FontColor to Y axis.
Please let us know if this meets your requirements. Thanks for your patience.