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

X Axis label overflow in grid

Thread ID:





118003 Jan 19,2015 09:50 PM UTC Jan 23,2015 04:19 AM UTC WPF 3
Tags: SfChart
Dario Quispe
Asked On January 19, 2015 09:50 PM UTC


I have X axis long names and I want to cut all labels that exceed the grid.
I prepared a sample code to show you that the first and last label of the x axis overflow the grid which has a gray background.



Attachment: OverflowLabel_fab85fac.zip

Suresh S [Syncfusion]
Replied On January 20, 2015 10:28 AM UTC

Hi Dario,

We have analyzed your requirement and we can avoid the axis labels overflowing across the grid by using chart axis EdgeLabelDrawingMode or PlotOffset property. Please refer the below documentation link for more information.

Link: http://help.syncfusion.com/ug/wpf/default.htm#!documents/positioningaxislabel.htm

We have modified the sample based on your requirement, please download it from below location.


Suresh S

Attachment: OverflowLabel_df31c172.zip

Dario Quispe
Replied On January 22, 2015 02:28 PM UTC

Thanks, it works


Sumathi Jayaraj [Syncfusion]
Replied On January 23, 2015 04:19 AM UTC

Hi Dario,
Thanks for the update.
Please let us know if you require further assistance on this.
Sumathi J 


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