init commit for dynamic barchart x-axis
dynamic barchart y-axis
refact code for tests
Tests for the bar chart