This is a migrated thread and some comments may be shown as answers.

Making a Gantt Chart

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 18 Aug 2013, 07:16 PM
Hello,

I'm trying for the life of me to make a Gantt chart using the new reporting graph thing and haven't had any luck, and can't find any help/examples online. The goal here is to make a day schedule - so you see from 8am to 9pm or so with bars representing when you have something on your schedule. If and when those bars overlap, I'd like them to appear in a second row. The bars should then have the title of the event in them.

To make it all simple, I made a simple class called "Test" with properties for "Category", "StartTime", "EndTime" and "Title". I've added three of them to a list and bound that to the graph's datasource in code on the "NeedDataSource" event.

Everything I try seems to just produce a graph with a single box on the right. I have the x value as start time and the y value as end time, but that doesn't seem to do anything or matter. I have series and category groups that both are the category field... which may not be right.

Can anybody help?

Thanks,

Mike

1 Answer, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 21 Aug 2013, 04:07 PM
Have you tried to set the Series[].X0 property to the start value and X to the end value (time)
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Share this question
or