cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 Gantt Chart NOWLINE

Former Member

Hi All,

We are facing a Nowline issue in gantt chart SAPUI5 .

By default Nowline is set as UTC "000000" hence LOWLINE is displaying UTC current time.

But we want to set as local browser time hence we have used below code.

new sap.gantt.config.Locale({ timeZone: "UTC", utcdiff: "020000", utcsign: "+" });

If we use the above code then the Nowline is displaying properly as per local browser time but other shapes are getting affected.

Example , if we set Nowline explicitly as UTC diff as "020000" then the rectangle shape is moving 2 hours ahead but the start date example updated given start date time is 20161027000000 but the rectangle shape is displaying in the place of 20161027020000. If we are remove the NowLine code then the Rectangle shapes are dispalying as per the start date(20161027000000).

Kindly do the needful.

Thanks & regards,

Hemachandran.R

Accepted Solutions (0)

Answers (1)

Answers (1)

Sylvain
Participant

Hi,

Did you find a solution ? I'm facing the exact same problem in my gantt.

Best regards

Sylvain