abstract range creation for bar charts
no need to parseInt here
remove repetitive area chart setup code
appease linter
Merge pull request #98 from cloudspace/66791140_dry_up_componentdata_service

66791140 dry up componentdata service