jsGanttImproved / jsgantt-improved

Javascript Gantt: fully featured gantt chart component built entirely with JS and CSS. No images or external libs required.
https://jsganttimproved.github.io/jsgantt-improved
Other
480 stars 248 forks source link

React-jsgantt shows gantt bars out of sync with timeline axis #207

Open jonathanlassen opened 5 years ago

jonathanlassen commented 5 years ago

Noted that react-jsgantt example as well as implementation shows the bars not in sync with the axis and doesnt match the start end dates correctly.

https://user-images.githubusercontent.com/49896447/59026283-a6a5a180-8873-11e9-8aae-360e56f1308a.png

copied from: https://github.com/jsGanttImproved/react-jsgantt/issues/2

Issue was confirmed to be occurring in jsgantt-improved using the example json data from the react repository.

mahmad2504 commented 5 years ago

I am also encountering this issue . But this happens only on Chrome and Opera . On IE and forefox same chart looks OK. Also this issue is prominent in large duration charts . Seems like it is a browser issue . Some offsets need to be added for Chrome and Opera browsers which will be kind of hack

mariohmol commented 5 years ago

Thanks for this and the example data as well

if u have any suggestions for the hack..

mariohmol commented 4 years ago

we can make an IF based on the browser and include this hacks?

liugu commented 4 years ago

The browser zooms in and out of sync