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

Setting min/max on DateTime category axis

Thread ID:

Created:

Updated:

Platform:

Replies:

97192 Nov 5,2010 04:53 PM UTC Nov 9,2010 11:47 AM UTC Windows Forms 2
loading
Tags: XlsIO
Farman Samee
Asked On November 5, 2010 04:53 PM UTC

Hi,

I am exporting to Excel a chart which has DateTime category axis. I would like to set the minimum and maximum values on the category axis. When I try to set it using

chart.PrimaryCategoryAxis.MinimumValue =

it will only let me specify a double value, not a DateTime. How can I set the min/max values on my axis?


Farman Samee
Replied On November 5, 2010 08:30 PM UTC

Hi,

Another related issue is that, when I try to make my category axis values sensible by using:

chart.PrimaryCategoryAxis.IsAutoMajor = true;

I get a crash (exception).

I tried to set this because sometimes I find that when I open my excel file the major unit scale has been set to days instead of auto.

Is there a workaround/fix?


Poornima R [Syncfusion]
Replied On November 9, 2010 11:47 AM UTC

Hi Samee,

Thank you for your interest in Syncfusion products.

We were able to reproduce the mentioned issue. We suspect this could be a defect. We have forwarded this issue to our development team for further analysis.

Could you please report this issue through Direct Trac Developer Support System
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Please let me know if you have any questions.

Regards,
Poornima




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

;