конверсия в графике в %

This commit is contained in:
Nastya 2024-04-11 09:28:22 +03:00
parent 9f277b047c
commit 39f49233f0

@ -188,7 +188,7 @@ const GeneralItemTimeConv = ({
data: Object.values(time), data: Object.values(time),
valueFormatter: (value) => { valueFormatter: (value) => {
console.log("log", value) console.log("log", value)
return calculateTime ? getCalculatedTime(value) : String(value.toFixed(2)) return calculateTime ? getCalculatedTime(value) : String((value*100).toFixed(2)) + "%"
} }
, ,
}, },