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. 

Rename this file to chart_helper.rb