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. 

Generally, it is preferred to segregate different formats (i.e. ruby, html, javascript, etc.). Raw data is no exception. The configuration files in Rails such as database.yml are used directly in Ruby to access the associated information without cluttering the ruby code (`Expertiza::Application.config.database_configuration[Rails.env]`, for example). You can load an individual file like so: `YAML.load_file('config/database.yml')`. It may be wise to create a `config/charts` directory which contains files such as bar.yml, pie.yml, etc.

Your second concern about readability is a good one. YAML is, in fact, designed to be human-readable, so all these large data objects will be much easier to understand than if defined in Ruby.