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.
Unfortunately, activation email could not send to your email. Please try again.

X Axis label overflow in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

118003 Jan 19,2015 04:50 PM Jan 22,2015 11:19 PM WPF 3
loading
Tags: SfChart
Dario Quispe
Asked On January 19, 2015 04:50 PM

Hi,

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.

Thanks,

Dario

Attachment: OverflowLabel_fab85fac.zip

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

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.


Regards,

Suresh S


Attachment: OverflowLabel_df31c172.zip

Dario Quispe
Replied On January 22, 2015 09:28 AM

Thanks, it works

Dario

Sumathi Jayaraj [Syncfusion]
Replied On January 22, 2015 11:19 PM

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



CONFIRMATION

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.

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.

;