Hi Dev Team,
We need to get distinct values like B1, B2, INSP display only once not repeated again in Resource Histogram I shared a screenshot
Support Forum
Hi Dev Team,
I shared histogram configuration and also resources data
- Attachments
-
- ResourcesData.json
- (1019 Bytes) Downloaded 83 times
-
- histogram.config.js
- (2.1 KiB) Downloaded 109 times
Hi Dev Team,
In our project, We have assigned one skillNumber to multiple resources as shown below
"resources" : {
"rows" : [
{ "id" : 1, "name" : "Celia", "city" : "Barcelona", "description": "Airframe", [b]"skillNumber" : "B1"[/b] },
{ "id" : 2, "name" : "Lee", "city" : "London", "skillNumber" : "B1" },
{ "id" : 3, "name" : "Macy", "city" : "New York",[b] "skillNumber" : "B2"[/b] },
{ "id" : 4, "name" : "Madison", "city" : "Barcelona", "skillNumber" : "B2" },
{ "id" : 8, "name" : "George", "city" : "New York", "description": "Inspector", [b]"skillNumber" : "INSP"[/b] },
{ "id" : 9, "name" : "Gloria", "city" : "Rome", "description": "Inspector", "skillNumber" : "INSP" },
}
]
},
We want to display only distinct values
Hi Dev Team,
we have multiple resources assigned to a skill number
we want to show the distinct skill numbers in the tree grid and cumulative working hours of the resources under a particular skill number in the resource histogram on the right side like the below screenshot.
- Attachments
-
- skillavai.png (30.61 KiB) Viewed 943 times
You just have to configure the Histogram with the stores it needs to visualise. Please see
https://bryntum.com/docs/gantt/#SchedulerPro/view/ResourceHistogram#config-assignmentStore
https://bryntum.com/docs/gantt/#SchedulerPro/view/ResourceHistogram#config-dependencyStore
https://bryntum.com/docs/gantt/#SchedulerPro/view/ResourceHistogram#config-resourceStore
And so on, you can process the store contents anytime you want.