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

Chart Columns Off-Screen

Thread ID:





110622 Aug 16,2013 07:43 PM UTC Aug 19,2013 05:13 PM UTC ASP.NET MVC (Classic) 1
Tags: Chart
Tony Basallo
Asked On August 16, 2013 07:43 PM UTC

The chart's first and last set of columns are cutoff. I attached a screenshot.

What can I do to avoid this?


Bharathiraja K [Syncfusion]
Replied On August 19, 2013 05:13 PM UTC

Hi Tony,


Thanks for using Syncfusion products.


We suggest you to set Range to Chart PrimaryXAxis to avoid the overlapping. Please find the below code snippet to achieve this.




 DateTime dt = DateTime.Now;

 this.chartControl1.PrimaryXAxis.ValueType = ChartValueType.DateTime;

 this.chartControl1.PrimaryXAxis.DateTimeFormat = "dd/MM/yy";


 this.chartControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;

 this.chartControl1.PrimaryXAxis.DateTimeRange = new ChartDateTimeRange(dt.AddMonths(0), dt.AddMonths(8),1, ChartDateTimeIntervalType.Months );


For your concenience we have prepared a simple sample in window form with screenshot and the same can be downloaded the sample from the following link.



For more details regarding set Range to chart axis, please refer our online document link.



Please let us know your concerns.



Bharathiraja K.




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