Fixed Daily Average and Time summary graphs #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The daily average graph used for average time always 30 days even if there are not enough entries
The graph will now still show the last 30 days even if there are no entries for it.
But for the calculation of average it will use only the last number of days which are not 0.
Example
If in the last 30 days only the last 5 days have an entry the average will be the sum of all entries divided by 5.
If in the last 30 days only the first 5 days have and entry the average will be the summ of all entries divided by 30.
After writing this down I am not sure any more this is more intuitive than it was before let me know what you think.
Extend command generate test data
I added extended functionality to the generate test data command to allow testing this probably. The generate test data command now will ask for a number of days to generate
The Time Summary Graph Skipped Labels and color
The time summary graph skipped labels for 'This week' and 'This year' and the labels do not use the foreground color for dark theme

With the fix
Light theme
Dark theme