amended charts controller
Merge pull request #129 from patrickdmccarthy/finetuning

amended charts controller