E1455, Refactoring the Chart helper

What it does: 
1) This helper/chart class provides the templates of data. It also has pie diagrams and charts for the data.
2) Also contains fixes to display bar, line and pie charts. 

Refer to the [Rails documentation](http://api.rubyonrails.org/classes/ActionController/Helpers.html).