Skip to Content
0

SAP UI5 Gantt Chart NOWLINE

Oct 27, 2016 at 11:38 AM

67

avatar image
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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers