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.

changing the labels of the x-axis of a chart

Thread ID:

Created:

Updated:

Platform:

Replies:

93867 Apr 8,2010 12:00 PM Apr 9,2010 12:56 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Julian Bercovici
Asked On April 8, 2010 12:00 PM

Hie,
i would like to know if it's possible, and if so, how can i change the labels of the x-axis of a chart ?
I've added a screenshot of what i'm talking about...

Thanks.



x_axis_302e4814.zip

Geetha M [Syncfusion]
Replied On April 9, 2010 12:56 AM

Hi Iulian,

Thank you for your interest in Syncfusion products.

You can change the labels of x-axis using the code given below.

chart.PrimaryCategoryAxis.EnteredDirectlyCategoryLabels = new object[] { "Value 1", "Value 2", "Value 3" };

Please try this and let me know if you have any questions.

Regards,
Geetha

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.

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.

;