JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › I found a visual bug in the gantt chart baseline › Reply To: I found a visual bug in the gantt chart baseline
Hello!
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,
Antal