10874 : I want to change the default resolution of the datescaler.

Question

I want to change the default resolution of the datescaler. By default it shows the datescaler resolution in days and i want to show it in quarters by default… how is this possible….????

Answer

DateScaler Class : TimeSpanSet Method will allow you to set the start and stop date of the view. Set values that are far enough apart to tell the datescaler that the quarters. Like:

Gantt.DateScaler.TimeSpanSet(DateTime.Now,DateTime.Now.AddDays(365));