JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › I found a visual bug in the gantt chart baseline
- This topic has 8 replies, 4 voices, and was last updated 6 months, 3 weeks ago by Antal Homen.
-
AuthorPosts
-
January 23, 2024 at 5:53 pm #109740Guillermo RubioParticipant
Hello, when showbaseline is enabled, i found that the baseline printed when view is bigger than week is not starting where it should be, is using the same spacing between start of month/week as the actual bar.
Let me explain with an example, lest say i have the datasource with
[{
“id”: “actividad-1”,
“label”: “INICIO”,
“dateStart”: “2020-11-03T23:00:00.000Z”,
“dateEnd”: “2020-11-17T23:00:00.000Z”,
“planned”: {
“dateStart”: “2020-11-13T23:00:00.000Z”,
“dateEnd”: “2020-11-18T11:00:00.000Z”
},
“type”: “task”,
“progress”: 0,
“disableResize”: true
}]The top bar and the baseline bar will be same length, but baseline should be 10 days shorter. This only ocurs when the view is not showing days.
if the baseline is in diferent month, it will be printed in the correct month but using the spacing between the start of the month ant teh start of the baseline as the actual bar, i meran if actual bar starts day 4 january and baseline starts 16 february, the baseline will be on february but starting day 4.
If a put the view=’week’ the baseline will be printed correctly.
Thank you
January 24, 2024 at 10:48 am #109746adminKeymasterThanks for the feedback!
We created a work item about this misbehavior and will resolve it in the next patch release.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/April 16, 2024 at 3:38 am #110067Antal HomenParticipantHello! I am wondering about the solution to the above problem, when will the fix be available?
Thank you in advance for your answerApril 16, 2024 at 10:53 am #110192adminKeymasterHi Antal,
We have an active work item. When this is resolved, the info will be posted here: https://www.htmlelements.com/docs/release-notes/. We have a planned release for this month so I hope that this will come into the release.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/April 25, 2024 at 7:45 am #110675Antal HomenParticipantDear Peter,
I use smart-webcomponents-angular/ganttchart version 14.2. The angular verizo is 14s. I can’t use a bigger version than that. Will the baseline patch be available on smart-webcomponents-angular/ganttchart 14.2?Best Regards,
Antal HomenApril 25, 2024 at 12:02 pm #110676ivanpeevskiParticipantHi Antal,
You can safely use the latest smart-webcomponents-angular version in angular 14. We continue to support it.
Best Regards,
Ivan peevskiSmart UI Team
https://www.htmlelements.com/May 22, 2024 at 1:44 pm #110953Antal HomenParticipantHello!
I would like to install the latest Smart UI for the existing project, but I don’t know exactly how. I would only use the Gantt module and tried copying “smart.ganttchart.js” and “smart.element.js” to the “..\node_modules\@smart-webcomponents-angular\ganttchart\source” directory, but the following an error message appears on the console:TypeError: Converting circular structure to JSON
–> starting at object with constructor ‘Object’
| property ‘tasks’ -> object with constructor ‘Array’
| index 0 -> object with constructor ‘Object’
| property ‘$’ -> object with constructor ‘Object’
— property ‘project’ closes the circle
at JSON.stringify (<anonymous>)
at BaseElement._setTimelineTaskBaseline (smart.ganttchart.js:90:214550)
at BaseElement._recycleTimelineTasks (smart.ganttchart.js:90:81834)
at BaseElement._resizeEventHandler (smart.ganttchart.js:90:180121)
at BaseElement.refresh (smart.ganttchart.js:90:23405)
at BaseElement.r (smart.element.js:20:73122)
at BaseElement.propertyChangedHandler (smart.element.js:20:106759)
at BaseElement.propertyChangedHandler (smart.ganttchart.js:90:21185)
at t.updateProperty (smart.element.js:20:75859)
at BaseElement.set [as showBaseline] (smart.element.js:20:76993)This message only comes if I also use the baseline.
What am I doing wrong?Best regards,
AntalMay 22, 2024 at 1:48 pm #110954adminKeymasterHi Antal,
You can send a sample to support@jqwidgets.com which demonstrates what you experience and describe the issue. You can also post it as a Github issue and share it here.
Best Regards,
Ivan peevskiSmart UI Team
https://www.htmlelements.com/May 23, 2024 at 9:41 am #110955Antal HomenParticipantHello,
I found out where I went wrong, I managed to update the Smart UI. It works well, but GantChart’s baseline in the “year” view still doesn’t work well. The baseline is displayed well in the “month” and “week” views. Previously, the baseline did not work well in the “month” view either.Best regards:
Antal -
AuthorPosts
- You must be logged in to reply to this topic.