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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

changing the labels of the x-axis of a chart

Thread ID:





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

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...



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

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.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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