diff --git a/fittrackee_client/src/components/Dashboard/Statistics.jsx b/fittrackee_client/src/components/Dashboard/Statistics.jsx index 2621c8e6..17109fa1 100644 --- a/fittrackee_client/src/components/Dashboard/Statistics.jsx +++ b/fittrackee_client/src/components/Dashboard/Statistics.jsx @@ -101,7 +101,9 @@ class Statistics extends React.Component { dataKey={s.label} formatter={value => displayedData === 'duration' ? format(formatDuration(value), 'HH:mm') - : value + : displayedData === 'distance' + ? value.toFixed(3) + : value } stackId="a" fill={activityColors[i]}