Refactor graph code to run against the same API as the table view.
Pull along the graph controller.
Uncomment logging
Begin making the query panel a directive.