Multiple issues encountered on Blazor Gantt Chart

Hi,

I just wanted to report a couple of issues that I'm encountering with the Blazor Gantt chart component.

1. The Gantt chart does not reflect the same start and end date/time as the data that is being passed into the component. Here's an image of the Gantt chart test implementation that I have created. Please take note of the start dates and end dates that were listed below.



Now, if you look into the list that I have passed into the component:


You will notice that the resulting data that is displayed in the component is very different.

2. I was trying to load the same data as the list above but is extracted from an API (Microsoft Graph) into the Gantt chart. I was able to do that however, the dates are not being plotted correctly on the Gantt chart as illustrated by the image below.



The start and end dates and times were also incorrect for the second issue. One thing that I have noticed is that populating the Gantt chart using a static list, like the first example, was able to plot the dates correctly on the chart. Dynamically loading a data from the API and populating that data to the Gantt chart doesn't correctly plot the dates on the chart. So what's up with that?

I am attaching some source code relevant to the second issue in order for you to hopefully recreate the issue on your end and properly advise the steps that are needed to be taken in order to resolve these issues.

Thanks and best regards,


Attachment: Issue2Code_8935a00c.zip

5 Replies 1 reply marked as answer

MS Monisha Sivanthilingam Syncfusion Team April 15, 2021 06:17 PM UTC

Hi Denzel, 
 
Currently, we are validating your query. We will update you with further details within one business day(15-04-2021). 
 
We appreciate your patience until then. 
 
Regards, 
Monisha. 



RS Roy Sunga April 15, 2021 07:17 PM UTC

Thank you for getting into my issue so promptly. I'm looking forward for your response.

Best reagrds,


MK Mahalakshmi Karthikeyan Syncfusion Team April 16, 2021 02:06 PM UTC

Hi Denzel,  
Thanks for your patience. 
  • We have analysed your queries and reason for both the issues are time mentioned in each task. Generally we will calculate the task time for each day was from morning 8AM to 5PM if the timing not mentioned in task.
  • Or else taskbars will render with the mentioned timing.
  • On further analyzing your given source we found that you have mentioned some incorrect times to task.
  • For ex on task 4 startDate time mentioned like, it starts on 18:30 and ends on next day 19:30.
  • So Gantt calculates it for proper time and at the end, particular task start date moved to next day 8AM and end date with the same day 5PM.
  • So task lies on the incorrect state. We suggest you to give proper date and times to taskbar or supply data without time to gantt.
  • On the other hand you can also mention DayWorkingTime to Gantt if your organizations runs on the different timings. Please refer the below link for the details about this API.
Please check the below UG for the same 
And We have also modified with the proper task timings please check the below link for details. 
Sample  
Regards, 
Mahalakshmi K. 


Marked as answer

RS Roy Sunga April 23, 2021 06:13 PM UTC

Hi,

Sorry for the late response. Your last reply was able to solve my issues with the Gantt chart component.

Thank you for your prompt response!

Best regards,


PN Preethi Nesakkan Gnanadurai Syncfusion Team April 26, 2021 05:23 AM UTC

Hi Denzel, 
  
Most welcome. 
  
Regards, 
Preethi 


Loader.
Up arrow icon