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

Chart Columns Off-Screen

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

What can I do to avoid this?


1 Reply

BK Bharathiraja K Syncfusion Team 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.



Live Chat Icon For mobile
Up arrow icon