Correcting a bug for when there are few items in the result set
Scaling data on graph

This completes the first draft of the graphing functionality