Cleaned up the charting code to move more config into the directives. Also added a pace chart.