Resource Timeline View can display different information depending on the resourceTimelineView property:
Resource Timeline View:
hours
tasks
custom
Description
-
hours - the hours of a resource assigned to a task, where the resource attribute capacity represents the working capacity of the resource and maxCapacity represents the maximum capacity.
-
tasks - the tasks that are assigned to the resource. In this mode capacity is not taken into considuration. Only maxCapacity is used to determine the maximum possible tasks that should be assigned to the resource.
-
custom - allows to customize the cell content of the histogram since that's the resourceTimelineMode. This can be achieved via the resourceTimelineFormatFunction property which accepts a callback.
In the current demo 'custom' mode displays the bonuses that the workers will get for each task they are assigned to.