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. Image for the cookie policy date
close icon

X Axis label overflow in grid


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

3 Replies

SS Suresh S Syncfusion Team 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

DQ Dario Quispe January 22, 2015 02:28 PM UTC

Thanks, it works


SJ Sumathi Jayaraj Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon