Page 1 of 1

How to bind a datatable to gantt series?

Posted: Tue Jul 20, 2004 8:46 pm
by 8119959
I tried to use

this.lotChart.YValues.DataMember=datasource.Columns["LotTypeID"].ToString();

this.lotChart.LabelMember=datasource.Columns["LotName"].ToString();

this.lotChart.StartValues.DataMember=datasource.Columns["StartTime"].ToString();

this.lotChart.EndValues.DataMember=datasource.Columns["StopTime"].ToString();

to generate a Gantt Series. But it seems the X-Asix value is not correct. It only shows from the earliest StopTime. And bars have same Y value didn't show on the same high level.
What's the problem?
May I bind the datatable to a Gantt Series?

Thanks.

Posted: Mon Jul 26, 2004 3:54 pm
by Marc
Hello,

Thanks for reporting that. It is a bug and has been resolved for the next maintenance release.

Until that is available an interim measure would be to step through the dataset and use the corrsponding Gantt Add method to take the record data.

Regards,
Marc Meumann