fixed the issue- when the time is not logged the bar chart page shows "no data logged for this activity" instead of
 NaN/NaN/NaN/ undefined