Hello, we have a use case that looks almost exactly like the "Histogram" demo found here: https://bryntum.com/examples/gantt/resourcehistogram/
How our use-case differs from the example, is we use the gantt chart and have a 1:1 mapping of task <-> resource.
We would like to send ourresources
data including total
field with the total available number of items.
We are supplying to the project.resources.rows
(as per the launch-saas.json
example) with the following data structure
export type Resource = {
id: string
name: string
total: number
calendar: string | null
}
It seems like it should not be too far a stretch to use the task counts at a given time to show availability with the following simple equation for each row of the histogram
resource.total - [total number of tasks at a given time by resource.id].count
Is this possible with Bryntum Gantt?
Also, it seems that no matter what kind of data i give this thing, It always says "no records to display" in the histogram section