Welcome to the Syncfusion Essential Gantt [WPF] Forum
Hi Piotr,
Sorry for the inconvenience caused. As of now our Gantt does not support to be scheduled in seconds. However we have implemented the minute’s type schedule in our upcoming release Volume 1, 2012. By setting the cell width of minute’s row to 60, it can get the space of seconds in minutes schedule itself.
Steps to set the custom schedule type:
1. Define the Schedule Items source as follows:
this.Gantt.CustomScheduleSource = this.GetCustomScheduleSource();
/// <summary>
/// Gets the custom schedule source.
/// </summary>
/// <returns></returns>
public IList<GanttScheduleRowInfo> GetCustomScheduleSource()
{
List<GanttScheduleRowInfo> RowInfo = new List<GanttScheduleRowInfo>();
RowInfo.Add(new GanttScheduleRowInfo() { TimeUnit = TimeUnit.Hours, CellsPerUnit = 1 });
RowInfo.Add(new GanttScheduleRowInfo() { TimeUnit = TimeUnit.Minutes, CellsPerUnit = 1, PixelsPerUnit = 60 });
return RowInfo;
}
2. Setting the schedule type as custom datetime
<sync:GanttControl Grid.Row="1" x:Name="Gantt" ItemsSource="{Binding GanttItemSource}"
ScheduleType="CustomDateTime" ShowDateWithTime="True"
VisualStyle="Office2010Blue" ShowChartLines="False" ShowNonWorkingHoursBackground="False">
<sync:GanttControl.TaskAttributeMapping>
<sync:TaskAttributeMapping TaskIdMapping="FileID"
TaskNameMapping="FileName"
StartDateMapping="StartTime"
FinishDateMapping="EndTime"
DurationMapping="Duration"
ProgressMapping="Complete">
</sync:TaskAttributeMapping>
</sync:GanttControl.TaskAttributeMapping>
</sync:GanttControl>
We have prepared a sample based on this, please find the sample in the following location.
Sample :
http://www.syncfusion.com/downloads/Support/DirectTrac/89312/CustomSchedule_In_Minutes1329577287.zipNote : This sample will work only on top of our latest release. Please find our latest release information below,
We are glad to announce that our Essential Studio Volume 1 2012 private beta release is out and is available for download under the following link.
http://files2.syncfusion.com/installs/v10.1.0.43/syncfusionessentialstudiosetup.exePlease note that you can use this build to test the feature / fix requested by you. Please contact our sales team at salessupport@syncfusion.com to generate the key for this build. The main public release - Volume 1 2012, will be out by the end of this month and we will keep posted, when it is published online. You may also check our website periodically for latest information on the release schedule. We thank you for the continuous support in improving the quality of our products and we appreciate your patience.
Thanks,
Thanigaivelan.