issue #20
Merge pull request #30 from Rynoh/mainChartComponent

issue #20