We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

chart control label name font size and font color?

Thread ID:

Created:

Updated:

Platform:

Replies:

77493 Nov 4,2008 05:19 AM UTC Nov 20,2008 12:52 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Chart
Pavan Kumar
Asked On November 4, 2008 05:19 AM UTC

hi can anyone tell me how to set the label names font size n color for x and y axis?


Pavan Kumar
Replied On November 4, 2008 09:56 AM UTC



>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


Manohari [Syncfusion]
Replied On 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.

Regards,
Manohari.R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;