Revert "Fix invalid type error"

This reverts commit 9409f56a497f57a24d186f676840014b2918ccc3.
Fix invalid type
Merge pull request #5 from hakobera/fix-chart-type

Fix chart type