simplifying getChart(type)
Merge pull request #2 from demetriusnunes/master

simplifying getChart(type)