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.
Syncfusion Feedback

Chart Columns Off-Screen

Thread ID:

Created:

Updated:

Platform:

Replies:

110622 Aug 16,2013 07:43 PM UTC Aug 19,2013 05:13 PM UTC ASP.NET MVC (Classic) 1
loading
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?


Capture_882f4f3a.zip

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.

 

[C#]                                                             

 

 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.

Range.zip

 

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

http://help.syncfusion.com/ug/asp.net/chart/Documents/axisrangeandintervals.htm

 

Please let us know your concerns.

 

Thanks,

Bharathiraja K.

 

 


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.

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

;