Drawing bars in the chart were added
Do some refactor