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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Interval between labels

Thread ID:





96683 Sep 28,2010 09:57 AM UTC Oct 1,2010 06:07 AM UTC ASP.NET Web Forms (Classic) 4
Tags: XlsIO
Asked On September 28, 2010 09:57 AM UTC


My problem is that only some category labels are visible on my charts.

In Excel I can right click on the category axis and select "Format axis...", then I can choose eiter "Automatic" or "Specify interval unit" for "Interval between labels".

How can I do this with the xlsio component?

Automatic doesn't seem to be supported at all, and when I try to specify the value with "IChartShape.PrimaryCategoryAxis.TickLabelSpacing" nothing happens. On the charts I include on the sheet the "Specify interval unit" property get values between 2 and 27.

I've attached some code so you can get a basic idea on how I create the charts.

Any help or a work around would be much appreciated!



Replied On September 29, 2010 08:42 AM UTC

Should I consider other components?

Poornima R [Syncfusion]
Replied On September 29, 2010 01:19 PM UTC

Hi Martin,

Thank you for your interest in Syncfusion Products.

We are not able to reproduce the mentioned issue "'Specify interval unit' property get values between 2 and 27". We have prepared the sample for your understanding. We have created this sample using versions of dll. Could you please find the sample from the below link. Try running the sample and let us know if this helps.

Sample link:

Please let us know if you have any questions.


Replied On September 30, 2010 08:55 AM UTC

Well, thanks to your example I could compare line by line, and finally I figured the (somewhat embarrassing) solution out...

Different versions of the dll were used in the web application (where I ran your example) and in the class project (my original code).

So a simple reference update did the trick! :)

Thank you very much for your help!

Poornima R [Syncfusion]
Replied On October 1, 2010 06:07 AM UTC

Hi Martin,

Thank you for your update.

We are glad that you found the answer by yourself.

Please let us know if you have any further queries.



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

Live Chat Icon For mobile
Live Chat Icon