Our state of the art Gantt chart


Post by Jeba »

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

Attachments
distinct.png
distinct.png (30.19 KiB) Viewed 962 times

Post by mats »

What data do you feed into it? Please share a runnable test case we can inspect.


Post by Jeba »

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

Post by mats »

Ok the resource histogram is for visualising resource utilization over time. Seems like you want something else, visualising a resource field over time? Could you please share some info on your use case?


Post by Jeba »

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


Post by mats »

You still didn't explain your use case. What are you trying to visualise using the resource histogram?


Post by Jeba »

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
skillavai.png (30.61 KiB) Viewed 943 times

Post by mats »

Ok, there's no automatic way for it to know what you want in this case. It'll just render the dataset you give to it. You will have to process the data the way you want it to be displayed / summarized before loading it into the histogram.


Post by Jeba »

Hi Dev Team,
Can you please share a sample of where to do the processing before it is shown in the
histogram?


Post by mats »


Post Reply