open-nomie / nomie5

Nomie v5 Source Code
https://nomie.app
MIT License
562 stars 84 forks source link

Bar Charts do not start at 0 #169

Open allo- opened 3 years ago

allo- commented 3 years ago

Bar chars for time based activities do not start a 0. This is in general a bad practice because the bars are misleading (e.g. with two bars starting at 10000, 10001 looks like it is the double of 10000).

In Nomie it is even more confusing, because, for example, in a year graph the bars start for 11 months at 0 (because there are still month with 0 hours), then they suddenly begin not to start at 0.

This scaling is especially unsuitable for graphs that change, as it shrinks the other bars instead of growing the current one until the current one reaches the previous minimum. When you had 10 hours minimum in the last 11 month, the current month does not have a bar at all, until you reached 11 hours, which is the point when the previous minimum does not have a bar anymore and the new month starts growing a bar.