[
{
"groupId": 1008,
"groupName": "集团",
"name": "人均排班时长(小时)",
"value": 5,
"percent": 100
},
{
"groupId": 1008,
"groupName": "集团",
"name": "人均脱岗时长(小时)",
"value": 4.43,
"percent": 88.6
},
{
"groupId": 1008,
"groupName": "集团",
"name": "集团",
"value": 5.57,
"percent": 111.4
}
]
想要新增展示占比percent项:
.tooltip("name*value*percent", (name,value,percent) => {
return {
name:name,
value: value,
percent:percent
};
})