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
315
Gantt chart display 1 hour increments on axis
posted

I'm building a composite chart containing a gantt and a line.

Because the data displayed is going to be a daily schedule, I'd like to have the X axis use 1 hour increments. It appears that by default it does 1.5 hour increments.

I'm guessing this is a relatively simple question--but I'm at a bit of a loss and this is my first experience with the composite chart controls.

Parents
No Data
Reply
  • 17605
    Verified Answer
    posted

    For your composite x-axis set these values:

    axisItem.TickmarkStyle = AxisTickStyle.DataInterval;

    axisItem.TickmarkInterval = 1;

    axisItem.TickmarkIntervalType = AxisIntervalType.Hours;

     

Children
No Data