Hi Team,
We are using type percentdone, and our dataset holding percent information on property "percentComplete". After using below set of code, Percent information not reflecting on Gantt chart bar.
gantt.config.ts
columns : [
{ type : 'percentdone', field: 'percentComplete', text: '% Complete', showCircle : true, width : 100, editor: false },
.
.
.
]
Dataset
{
"id": "a5d3d135-36d3-4868-9873-9a731578b0cd",
"parentId": "c1ff177a-f129-4c18-bf12-3167bb391480",
"name": "ABC321",
"description": null,
"startDate": "2023-11-25T06:37:13.644784000Z",
"endDate": "2023-12-22T06:37:13.644784000Z",
"subType": null,
"type": "Engagement Work Package",
"percentComplete": 15,
"baselines": [
{
"startDate": "2023-11-30T23:00:00",
"endDate": "2023-12-03T23:00:00",
"name": "Current Baseline"
}
]
},
Issue
Please notice record ABC311 its percentage is 15% on grid and on chart bar we can not see blue overlay on green bar for same record.
But
If we are using field "percentDone" on our dataset and if we dont provide field: 'percentComplete', on gantt.config.ts then it work fine.
gantt.config.ts
columns : [
{ type : 'percentdone', text: '% Complete', showCircle : true, width : 100, editor: false },
.
.
.
]
Dataset
{
"id": "a5d3d135-36d3-4868-9873-9a731578b0cd",
"parentId": "c1ff177a-f129-4c18-bf12-3167bb391480",
"name": "ABC321",
"description": null,
"startDate": "2023-11-25T06:37:13.644784000Z",
"endDate": "2023-12-22T06:37:13.644784000Z",
"subType": null,
"type": "Engagement Work Package",
"percentDone": 15,
"baselines": [
{
"startDate": "2023-11-30T23:00:00",
"endDate": "2023-12-03T23:00:00",
"name": "Current Baseline"
}
]
},
Please notice record ABC311 its percentage is 15% on grid and on chart bar we can see blue overlay on green bar for same record.
Expected result:
We want to use the percentComplete property and it should reflect the percent information on chart bar.
Thanks,
Shashank Yadav
Hatch Digital