- Implemented "task ghistory" command to draw a bar chart.

This commit is contained in:
Paul Beckingham
2008-06-27 00:15:06 -04:00
parent 5c91a0d963
commit 6066cc3bab
6 changed files with 238 additions and 4 deletions

View File

@@ -415,10 +415,12 @@ with no arguments will generate a help message that lists all these commands.
% task history
Year Month Added Completed Deleted Net
2008 March 21 16 0 5
April 13 11 1 1
May 8 14 3 -9
Year Month Added Completed Deleted Net
2008 March 21 16 0 5
April 13 11 1 1
May 8 14 3 -9
Average 14 13 1 -1
This shows that for the three months that task has been used, March and April
saw the total number of tasks increase, but in May the number decreased as
@@ -426,6 +428,23 @@ with no arguments will generate a help message that lists all these commands.
% task ghistory
--------------
This report shows you an overview of how many tasks were added, completed and
deleted, by month, as does "task history", but as a bar chart. It looks like this:
% task history
Year Month Added/Completed/Deleted
2008 March +++++++++++++++++++++XXXXXXXXXXXXXXXX
April +++++++++++++XXXXXXXXXXX-
May ++++++++XXXXXXXXXXXXXX---
With color enabled, the bars contain the size of each bar.
% task calendar
---------------