parent
b19033b814
commit
3be82e0b36
|
@ -64,7 +64,7 @@ export default function ViewBest() {
|
||||||
yData={volumes.map(v => v.value)}
|
yData={volumes.map(v => v.value)}
|
||||||
yFormat={(value: number) =>
|
yFormat={(value: number) =>
|
||||||
`${value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')}${
|
`${value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')}${
|
||||||
volumes[0].unit
|
volumes[0].unit || 'kg'
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
xData={weights}
|
xData={weights}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user