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

XLSIO - Category Axis Labels On Tick Marks

Thread ID:





128370 Jan 17,2017 03:00 PM UTC Jan 18,2017 11:45 AM UTC ASP.NET Core 2
Tags: XlsIO
Eric Castillo
Asked On January 17, 2017 03:00 PM UTC


I have been unable to find the basic chart setting where the category axis labels (x-asis) are placed on the tick marks themselves instead of between tick marks, see illustrations below. In Excel 2016 this option is under Axis Options-->Axis Position-->On Tick Marks. Is this possible? I am using a line chart as an example in my code. Thank you!

Between tick marks (default)
Dec       Jan          Feb

On tick marks (desired)
         Dec        Jan       Feb

Eric Castillo
Replied On January 17, 2017 03:01 PM UTC

Hi, just a note that despite my best efforts, the illustrations below did not come out as planned. But hopefully any potential responders know what I'm talking about.

Sridhar Sukumar [Syncfusion]
Replied On January 18, 2017 11:45 AM UTC

Hi Eric, 
Thank you for contacting Syncfusion support. 
Yes, you can change the axis label position by using PrimaryCategoryAxis.IsBetween property in XlsIO. Please refer the following code example to achieve this. 
Code snippet: 
chart.PrimaryCategoryAxis.IsBetween = false; 
Please let us know if you have any concern. 
Sridhar S. 


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

or the page will be automatically redirected to 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