My horizontal scrollbars are going wrong when the date range gets too large

I have created an ej1 Gantt chart which has a zoom to fit method available. This work fine when the range of dates is small (< 6 years), but beyond this the size of the content area is going wrong so that as you scroll to the right it shows all the taskbars in the first 10th of the scrollbar. If you keep scrolling the headers stop when the last taskbar disappears.

I have enclosed a very simple example of this. I have two taskbars defined, the first start n 2016 and all is well, but if I change the start date to 2015 the problem manifests. The problem is connected to my setModel call, without it all is fine, but I need this to be able to zoom.

We have issues about moving to ej2 (Boards & IE) so for the moment this needs to be fixed in ej1.

Thanks

Martin Pamplin

Attachment: Demo01_28bbb50f.zip

1 Reply 1 reply marked as answer

PE Punniyamoorthi Elangovan Syncfusion Team October 5, 2020 12:12 PM UTC

Hi Martin, 
Thank you for contacting Syncfusion support. 
We have analyzed your reported issue and attached sample. We can able to reproduce the issue with your sample and we have already fixed this issue. We suggest you to update your packages to latest to resolve this issue. 
We have modified your sample with updated packages, you can find the sample from below link 
  
Regards, 
Punniyamoorthi 


Marked as answer
Loader.
Up arrow icon