Improve Summary Graph

Registered by Michael Rooney

Currently the graph in the Summary tab is not bad if you have a lot of data, but for beginning who don't have a lot of data, it isn't as useful as it could be. A quick solution is to just make every day a data point. However this does not look good for users with lots of data, as it isn't as smooth as it could be.

1) The graph should always display some visually useful/sensible. Basically, I think we need a function that says, give me X data points. So if we request 10 data points and the user only has two days of transactions, the first five are the first day and the second five are the second day. 10 days of transactions would yield each as a data point, and 200 days of transactions would yield each 20 day group averaged as 10 averages.

2) Show a legend such as "Balance" and "Trend", so the user better understands the two lines.

3) Make the axis "ticks" more useful, by custom doing the strings. The Y ticks should be money strings and the X ticks should be dates.

4) The last data point on the Balance line should always be the total balance, and at the current date (today).

5) Add SpinCtrl's for adjusting the granularity (number of points) and the degree of the best fit curve, which change the graph as they are changed.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Michael Rooney
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.3
Started by
Michael Rooney
Completed by
Michael Rooney

Related branches

Sprints

Whiteboard

07-23-2008 michael: r26 sees #1 and #2 implemented!
07-24-2008 michael: #4 is implemented in r28, as well as a minor improvement when no transactions exist.
07-24-2008 michael: #5 is implemented as of r30. I am about ready to call this done. Although #3 would be nice, I suspect that requires patching plot.py (not a huge deal, already done for the best fit curve).
07-28-2008 michael: #3 was actually fairly easy, and is implemented in r31. With some overall polishing that came in r32, I am calling this Implemented!

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.