function gettotallist(listdata) {
let total = 0
var list2 = listdata;
var list = []
listdata.forEach((type) => {
total = total + type
});
list2.forEach((type) => {
var data = Number(Number((type / total) * 100).toFixed(0))
list.push(data)
});
return list
}