Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1790
Settinf Gantt Chart start date
posted

I want to set the X axis start date for my gantt chart to be a specific date.  It seems to vary right now because of the percentage tick marks.  I want to make the first date the first date of my date spread.  How do I do that?  Thanks.

Parents
No Data
Reply
  • 1790
    Suggested Answer
    Offline posted

    I fixed this by using this code...

    UltraChart1.Axis.X.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom;

    UltraChart1.Axis.X.RangeMin = lastMonthFirstDate.Ticks;

    UltraChart1.Axis.X.RangeMax = lastMonthLastDate.Ticks;

    I am now wondering how to get ride to the expand/collapse buttons and just have the scroll bar.

Children