Working with bar chart and line graph. Refactor code.