Update ease.ts

This commit is contained in:
user1823 2025-04-06 15:26:05 +05:30 committed by GitHub
parent 148153dcdb
commit c637126c7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,8 +106,8 @@ export function prepareData(
const xTickFormat = (num: number): string => localizedNumber(num, 0) + "%";
const tableData = [
{
label: tr.statisticsAverageEase(),
value: xTickFormat(sum(Array.from(allEases.entries()).map(([k, v]) => (k + 2.5) * v)) / total),
label: tr.statisticsMedianEase(),
value: xTickFormat(data.average),
},
];