You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where scrollableHorizonFactor is used to calculate the (vis) Timeline component start and end parameters from the activity times. It can be configured too, thus giving it a value of e.g. 1.2 brings the component to a much narrow size:
it is still a multiplicative factor, so the wider the span (difference between the start of the earlier activity and end of the later one) the bigger the empty timeline areas - it would be better if a fixed margin / padding was available
The text was updated successfully, but these errors were encountered:
This can be seen in the Activity Chart example:
By scrolling to the left of the first activity, a lot of days are present, but empty; the same is rendered to the right, after the last activity.
I've tracked down this behavoiur to these lines:
gantt-chart/packages/ibm-gantt-chart/src/jquery/timeline/timeline.js
Lines 38 to 41 in f72eea3
Where
scrollableHorizonFactor
is used to calculate the (vis) Timeline componentstart
andend
parameters from the activity times. It can be configured too, thus giving it a value of e.g. 1.2 brings the component to a much narrow size:A couple of notes:
The text was updated successfully, but these errors were encountered: