Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gantt Chart Task's date time gets ignored when positioning #278

Open
alex4ndern opened this issue Sep 27, 2024 · 1 comment
Open

Gantt Chart Task's date time gets ignored when positioning #278

alex4ndern opened this issue Sep 27, 2024 · 1 comment
Labels
gantt-chart Gantt Chart component

Comments

@alex4ndern
Copy link

After updating the library from version 26 to 27 I noticed that my tasks are no longer centered in the date box.
I used to achieve that by setting the time of the date to 12:00, but that no longer works, the task is always at the start of the date.

I found some potential leads - Time is ignored only when [dayWorkingTime]="[{ from: 0, to: 24 }]" is set, and only if the date is in standard time

Without [dayWorkingTime]="[{ from: 0, to: 24 }]"

image

With [dayWorkingTime]="[{ from: 0, to: 24 }]"

image

Maybe I'm using the dayWorkingTime wrong, if I set "from" to be equal to 1, it works, but because it is only breaking for the standard time, it leads me to believe it is some kind of an issue.

@gsumankumar gsumankumar added the gantt-chart Gantt Chart component label Oct 8, 2024
@Jayakumar-Duraisamy
Copy link

Hi @alex4ndern ,

Greetings from Syncfusion Support,

We were able to replicate the reported issue where the milestone position does not render correctly when using the dayWorkingTime property in the Gantt chart. This issue occurs in Gantt chart version 28.2.6.

We have identified that this issue has been fixed in the latest version of the Gantt chart. We recommend upgrading to version 28.2.7 to resolve the problem. We have attached a sample for your reference.

Sample link: https://stackblitz.com/edit/angular-slejyxy9-q19btjsb?file=src%2Fapp.component.html,src%2Fdata.ts,package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gantt-chart Gantt Chart component
Projects
None yet
Development

No branches or pull requests

3 participants